Click or drag to resize
TransformationHelperIfImage Method
Returns isImage value if file is image.

Namespace: CMS.DocumentEngine.Web.UI
Assembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 12.0.0
Syntax
C#
public Object IfImage(
	Object attachmentGuid,
	Object isImage,
	Object notImage
)

Parameters

attachmentGuid
Type: SystemObject
Attachment GUID
isImage
Type: SystemObject
Is image value
notImage
Type: SystemObject
Is not image value

Return Value

Type: Object
See Also