The import-image element is used to import an image into the current document.

The image is scaled, and center-aligned to fit the page.

Use the <page> element to move off the new image page.

Syntax:

Element

Attributes

Value

Notes for Element/Attribute/Value

import-image

file

value

Path of image file.

file-exist

Boolean

Default is false.

file-mandatory

Boolean

Default is false.

margin

value

left, right, top, bottom
Default. Document margin.

page-size

A0 to A4

Default is Document page.

B0 to B5


letter


value

width, height

orientation

portrait

Default.

landscape


Example

    <import-image file="map.jpeg" margin="0,0,0,0"/>