UIHelper GetDocumentTypeIconUrl Method (Page, String, String, Boolean, Boolean)Kentico 8.0 API Reference
Returns resolved path to the icon image for the specified document type.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

page
Type: OnlineSystem.Web.UI Page
Page
className
Type: OnlineSystem String
Name of the class
iconSet (Optional)
Type: OnlineSystem String
Name of the subfolder where icon images are located
checkFile (Optional)
Type: OnlineSystem Boolean
Indicates if the required icon exists in the filesystem
ensureDefaultTheme (Optional)
Type: OnlineSystem Boolean
Indicates if default theme should be always used

Return Value

Type: OnlineString
See Also