Class ResourceHandler
Inheritance
System.Object
ResourceHandler
Namespace: pdftron.PDF.Tools
Assembly: pdftron.PDF.Tools.dll
Syntax
public static class ResourceHandler : object
Methods
GetColorFromToolPalette(String)
This method will return a Brush resource from the ToolPalette.xaml Resource Dictionary
Declaration
public static Brush GetColorFromToolPalette(string key)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The resource key |
Returns
Type | Description |
---|---|
Windows.UI.Xaml.Media.Brush | A Brush color |
GetString(String)
Get a resource language string by resource key for the selected App's language
Declaration
public static string GetString(string key)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The resource key |
Returns
Type | Description |
---|---|
System.String | The string content of the resource |