TransformationHelperGetImage Method (Object, Object, Object, Object, Object, Object) |
Returns a complete HTML code of the image.
Namespace: CMS.DocumentEngine.Web.UIAssembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 10.0.0
Syntaxpublic string GetImage(
Object nodeAlias,
Object attachmentGuid,
Object maxSideSize = null,
Object width = null,
Object height = null,
Object alt = null
)
Parameters
- nodeAlias
- Type: SystemObject
Node alias - attachmentGuid
- Type: SystemObject
Attachment GUID - 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