TransformationHelperGetFileIcon Method |
Returns HTML markup representing icon.
Namespace: CMS.ControlsAssembly: CMS.Controls (in CMS.Controls.dll) Version: 8.2.23
Syntax 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.HelpersFontIconSizeEnum
Icon size for font icon. - tooltip (Optional)
- Type: SystemString
Tooltip. - additionalAttributes (Optional)
- Type: SystemString
Additional HTML parameters.
Return Value
Type:
StringSee Also