Returns accessible-friendly image markup based on image URL or font icon class.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- page
- Type: System.Web.UI Page
Page class
- iconClass
- Type: System String
Icon class
- imagePath
- Type: System String
Image URL
- tooltip (Optional)
- Type: System String
Description (Only if not decorative image)
- size (Optional)
- Type: CMS.Helpers FontIconSizeEnum
Size to be used
- iconColorClass (Optional)
- Type: System String
Icon color class
- defaultIconClass (Optional)
- Type: System String
Default icon class.
- additionalClass (Optional)
- Type: System String
Additional CSS class.
- additionalAttributes (Optional)
- Type: System String
Additional HTML parameters.
Return Value
Type: StringSee Also