1. Home
  2. Docs
  3. Chapter 23. Document Production
  4. 5. Writing Doc. Composer element templates
  5. Working with Image

Working with Image

Download PDF

<Image>

Name Description/Usage Required?
alignment = left

{left | center | right}

Set the alignment of image. Optional
width : string Set the width of image. It can be an absolute value (e.g. “15500”) or a scale to the original image width (e.g. “80%”) Optional
height : string Set the height of image. It can be an absolute value (e.g. “15500”) or a scale to the original image height (e.g. “80%”) Optional
maxWidth : integer Set the maximum width of image. Optional
maxHeight : integer Set the maximum height of image. Optional
rotate : string

{none | right | left}

Rotate the image to right (90 degree) or left (270 degree) Optional
keepWithPreviousInPDF : boolean Make sure the previous item will be shown in same page with this item. (Used for PDF document only) Optional
keepWithNext : boolean Make sure the this item will be shown in same page with next item. (Used for WORD document only) Optional

<Icon>

Icon of a model element type.

Name Description/Usage Required?
alignment = left

{left | center | right}

Set the alignment of icon image. Optional
rotate : string

{none | right | left}

Rotate the image to right (90 degree) or left (270 degree) Optional