TransformationHelperGetUIImageUrl Method (String, Boolean, Boolean, Page) |
Gets UI image path.
Namespace: CMS.DocumentEngine.Web.UIAssembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 12.0.0
Syntax public virtual string GetUIImageUrl(
string imagePath,
bool isLiveSite,
bool ensureDefaultTheme,
Page page
)
Parameters
- imagePath
- Type: SystemString
Partial image path starting from ~/App_Themes/(Skin_Folder)/Images/ (e.g. '/CMSModules/CMS_MediaLibrary/module.png') - isLiveSite
- Type: SystemBoolean
Indicates if URL should be returned for live site - ensureDefaultTheme
- Type: SystemBoolean
Indicates if default theme should be always used - page
- Type: System.Web.UIPage
Page object
Return Value
Type:
StringSee Also