Element - image

The image element adds an image to the current page.

Width and height take precedence over scale. Width and height must be greater than 0 to take effect.

Syntax:

Element

Attributes

Value

Notes for Element/Attribute/Value

image

x1

integer

 

y1

integer

 

width

integer

Default is 0.

height

integer

Default is 0.

file

file

Path of image file.

scale

integer

Default is 80.

resize

integer

Default is 0.
Resize image percentage.
The default is to not resize the image.
Resizing reduces the byte size of the image.

rotation

integer

Default is 0.

file-exist

boolean

Default is false.

file-mandatory

boolean

Default is false.

border

boolean

Default. Document border.

page

integer

Default 0. TIFF image page.
Use -1 to add all images.

anchor

url

 

 

Example

<image x1="70" y1="500" file="house.jpg" width="200" height="100"/>