The theme object specifies the icons and colors of the task pane.
The color can be specified either as a RGB code as a number (note the little-endian byte order), or HTML-style color reference (like "#23ff33"). Empty string or string "default" sets the default color.
The icon file must be specified as a path to the icon file in the application folder. The path is relative to the application folder (in where the appdef.xml is located). The icon file must be a .ico file. Normally the icon with size of 16x16 is used. With desktops with a high DPI setting (150% or more), the 24x24 icon is used if available.
The font size can be specified either as a absolute number, or as a string that descripe the relative size in percentages (like "135%").
Visual Basic |
---|
Public Sub SetTheme( _ ByVal theme As Object _ ) |
The theme object specifies the icons and colors of the task pane.
The color can be specified either as a RGB code as a number (note the little-endian byte order), or HTML-style color reference (like "#23ff33"). Empty string or string "default" sets the default color.
The icon file must be specified as a path to the icon file in the application folder. The path is relative to the application folder (in where the appdef.xml is located). The icon file must be a .ico file. Normally the icon with size of 16x16 is used. With desktops with a high DPI setting (150% or more), the 24x24 icon is used if available.
The font size can be specified either as a absolute number, or as a string that descripe the relative size in percentages (like "135%").