Click or drag to resize
TransformationHelperGetFileIcon Method
Returns HTML markup representing icon.

Namespace: CMS.DocumentEngine.Web.UI
Assembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 12.0.0
Syntax
C#
public string GetFileIcon(
	Object fileExtension,
	Page page,
	FontIconSizeEnum iconSize = FontIconSizeEnum.NotDefined,
	string tooltip = "",
	string additionalAttributes = ""
)

Parameters

fileExtension
Type: SystemObject
File extension.
page
Type: System.Web.UIPage
Page object.
iconSize (Optional)
Type: CMS.Base.Web.UIFontIconSizeEnum
Icon size for font icon.
tooltip (Optional)
Type: SystemString
Tooltip.
additionalAttributes (Optional)
Type: SystemString
Additional HTML parameters.

Return Value

Type: String
See Also