TransformationHelperIfImage Method |
Returns isImage value if file is image.
Namespace: CMS.ControlsAssembly: CMS.Controls (in CMS.Controls.dll) Version: 8.2.23
Syntax 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:
ObjectSee Also