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

Namespace: CMS.Controls
Assembly: CMS.Controls (in CMS.Controls.dll) Version: 8.2.23
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