Click or drag to resize
TransformationHelperGetAttachmentIcon Method
Returns HTML markup representing icon.

Namespace: CMS.DocumentEngine.Web.UI
Assembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 12.0.0
Syntax
C#
public string GetAttachmentIcon(
	Object attachmentGuid,
	Page page,
	FontIconSizeEnum iconSize = FontIconSizeEnum.NotDefined,
	string tooltip = "",
	string additionalAttributes = ""
)

Parameters

attachmentGuid
Type: SystemObject
Attachment GUID.
page
Type: System.Web.UIPage
Page object.
iconSize (Optional)
Type: CMS.Base.Web.UIFontIconSizeEnum
Icon size for font icon.
tooltip (Optional)
Type: SystemString
Tooltip.
additionalAttributes (Optional)
Type: SystemString
Additional HTML parameters.

Return Value

Type: String
See Also