PortalHelperGetIconHtml Method |
Gets the web part / widget / page template icon HTML.
Namespace: CMS.PortalEngine.Web.UIAssembly: CMS.PortalEngine.Web.UI (in CMS.PortalEngine.Web.UI.dll) Version: 12.0.0
Syntax public static string GetIconHtml(
Guid thumbnailGuid,
string iconClass,
int thumbnailMaxSideSize = 64
)
Parameters
- thumbnailGuid
- Type: SystemGuid
The icon thumbnail GUID - iconClass
- Type: SystemString
The icon css class - thumbnailMaxSideSize (Optional)
- Type: SystemInt32
Max side size of the generated thumbnail
Return Value
Type:
StringSee Also