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.
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 | |
page-size | A0 to A4 | Default is Document page. | |
B0 to B5 | |||
letter | |||
value | width, height | ||
orientation | portrait | Default. | |
landscape |
<import-image file="map.jpeg" margin="0,0,0,0"/>