Image


Write text at a certain position on the page, with a specified font, colour and style. The colour can either be specified as RGB values, or by name.

Inputs


Input name

Optional/required

Notes

Position

Required

Co-ordinates (x1,y1) and (x2,y2) of the top-left and bottom-right corners of the rectangle you want to draw the image into. If either x2 or y2 is zero, the height/width will be whatever is needed to keep the aspect ratio the same.

Filename

Required

The filename of the image.


Example


       <PrintElement name="Image">

               <Position x1="15" y1="16" x2="40" y2="16"></Position>

               <Filename>C:\temp\logo.jpg</Filename>

       </PrintElement>