SoftadminApi.Icon_AsHtml

Type: Scalar function

Generates HTML to display the specified system icon with the specified size.

The icon will not work outside of Softadmin®.

Return value: varchar

Returns NULL if the icon does not exist, or the size is invalid.

Parameters

@IconName mandatory nvarchar(100)
The name of the system icon, as specified in Admin > Theme > System icons.
@Size mandatory int
A number between 1 (smallest) and 5 (largest).