Click or drag to resize
CMSAbstractTransformationGetUIImageUrl Method (String, Boolean, Boolean)
Gets UI image path.

Namespace: CMS.DocumentEngine.Web.UI
Assembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 11.0.0
Syntax
C#
public virtual string GetUIImageUrl(
	string imagePath,
	bool isLiveSite,
	bool ensureDefaultTheme
)

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

Return Value

Type: String
See Also