SoftadminApi.Icon_AsHtml

 Show all Hide all

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

The icon will not work outside of Softadmin®.

Type: Scalar function
Area of use: API

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).