Element import image

LANSA Integrator

Element - import-image

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

file-mandatory

Boolean

Default. false.

margin

value

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

page-size

A0 to A4

Default. Document page.

B0 to B5

 

letter

 

value

width, height

orientation

portrait

Default. Document orientation.

landscape

 

 

Example

 

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