Builds an icon as a bitmap, based on the key supplied.

<para> The following 'Virtual' Resource Ids are supported: <list> <item> <code>Colour[htmlColour]</code><description>Create an icon of the specified HTML Colour, e.g. Red or #FF0000.</description> <code>Flag[htmlColour]</code><description>Create a Flag icon of the specified HTML Colour, e.g. Red or #FF0000.</description> <code>Folder[htmlColour]</code><description>Create a Folder icon of the specified HTML Colour, e.g. Red or #FF0000.</description> <code>Folder_Open[htmlColour]</code><description>Create an Open Folder icon of the specified HTML Colour, e.g. Red or #FF0000.</description> <code>System_IconName[htmlColour]</code><description>Create a System icon (one named 'System_?') of the specified HTML Colour, e.g. Red or #FF0000.</description> </item> </list> </para>

Syntax

ISIconHandler.GetIconAsBitmap(resourceManager, resourceId, size, [adjustDpi], [iconItems], [bitmapCache])

Parameters

NameTypeOptionalByRefDescription
resourceManager Resources.ResourceManager The resource manager.
resourceId String The key or alias used to identify the icon item.
size Integer The size of the new bitmap.
adjustDpi Boolean Optional Adjust size for DPI resolution. If omitted, a value of True is assumed.
iconItems ISIconItems Optional The icon items collection. If not specified, simply uses the ResourceId passed in. If omitted, a value of Nothing is assumed.
bitmapCache ISBitmapCache Optional Optional bitmap cache. If omitted, a value of Nothing is assumed.

Return Value

Bitmap

The Bitmap.

Member of:
ISIconHandler
Namespace:
Intersoft.ISRuntime6
Assembly:
ISRuntime6, Version=6.0.3
Target Framework:
.NET 9.0