Get Icon image as a base-64 encoded PNG file.

The return value can be used as part of the 'src' attribute on an HTML IMG tag, e.g.: src='data:image/gif;base64,XXXXX' where XXXXX is the return value from this method.

Syntax

finUtilities.GetIconAsPngBase64String(resourceId, [size], [overlayResourceId])

Parameters

NameTypeOptionalByRefDescription
resourceId String The Icon's Resource Id.
size Integer Optional The Icon size. If omitted, a value of 16 is assumed.
overlayResourceId String Optional The Overlay Resource Id if applicable.

Return Value

String

A String value.

Member of:
finUtilities
Namespace:
Intersoft.finSupport6
Assembly:
finSupport6, Version=6.0.3
Target Framework:
.NET 9.0