Click or drag to resize
TransformationHelperIfImage Method

Note: This API is now obsolete.

Returns isImage value if file is image.

Namespace: CMS.DocumentEngine.Web.UI
Assembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("This method is obsolete and will be removed in the next version. Use custom implementation instead.")]
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