Click or drag to resize
TransformationHelperGetImage Method (Object, Object, Int32, Int32)
Returns a complete HTML code of the image.

Namespace: CMS.Controls
Assembly: CMS.Controls (in CMS.Controls.dll) Version: 9.0.0
Syntax
C#
public string GetImage(
	Object nodeAlias,
	Object attachmentGuid,
	int width,
	int height
)

Parameters

nodeAlias
Type: SystemObject
Node alias
attachmentGuid
Type: SystemObject
Attachment GUID
width
Type: SystemInt32
Image width
height
Type: SystemInt32
Image height

Return Value

Type: String
See Also