Click or drag to resize
PortalHelperGetIconHtml Method
Gets the web part / widget / page template icon HTML.

Namespace: CMS.PortalEngine.Web.UI
Assembly: CMS.PortalEngine.Web.UI (in CMS.PortalEngine.Web.UI.dll) Version: 11.0.0
Syntax
C#
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: String
See Also