Click or drag to resize
CMSAbstractTransformationGetImage Method (Object, Object, Object, Object, Object)
Returns a complete HTML code of the image that is specified in the given column.

Namespace: CMS.Controls
Assembly: CMS.Controls (in CMS.Controls.dll) Version: 9.0.0
Syntax
C#
public string GetImage(
	Object attachmentGuidColumn,
	Object maxSideSize = null,
	Object width = null,
	Object height = null,
	Object alt = null
)

Parameters

attachmentGuidColumn
Type: SystemObject
Name of the column that contains the attachment
maxSideSize (Optional)
Type: SystemObject
Image max. side size
width (Optional)
Type: SystemObject
Image width
height (Optional)
Type: SystemObject
Image height
alt (Optional)
Type: SystemObject
Image alternation text

Return Value

Type: String
See Also