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. 0.

height

integer

Default. 0.

file

file

Path of image file.

scale

integer

Default. 80.

resize

integer

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

rotation

integer

Default. 0.

file-exist

boolean

Default. false.

file-mandatory

boolean

Default. 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"/>