Parameter | Description | Possible Values |
<PageWidthMm> | Specifies the width of the page for the PositionTemplate | Values in mm, e.g. 1600 |
<PageHeightMm> | Specifies the height of the page for the PositionTemplate | Values in mm, e.g. 1600 |
<Item> | Encloses parameter section for an Individual Position Placeholder. | Contains Other parameters, such as <Attributes> |
<Attributes> <FitAttributes> | Encloses parameters section attributes regarding how to fit imported images into the placeholder. | Parameters, such as <WidthMm> |
<WidthMm> | Specifies the width of the position placeholder | Values in mm, e.g. 800 |
<HeightMm> | Specifies the height of the position placeholder. | Values in mm, e.g. 800 |
<FitWidth> | Sets wether the imported image should be scaled to fit the width of the placeholder. The parameter <KeepProportion> dictates if the image is scaled in proportion of if it will be distorted. | 0= No scaling, image is imported in position in original size 1= Scaling, Image is scaled to fit the width of the placeholder. |
<FitHeight> | Sets whether the imported image should be scaled to fit the height of the placeholder. The parameter <KeepProportion> dictates if the image is scaled in proportion of if it will be distorted. | 0= No scaling, image is imported in position in original size 1= Scaling, Image is scaled to fit the height of the placeholder. |
<KeepProportion> | Only Available if both <FitWidth> and <FitHeight> are active. Sets whether the original proportion of the imported image should be kept when scaling the image by either height or width. | 0= Don’t keep proportion, Image will be scaled to height and width of placeholder 1= Keep proportion, image will be scaled to the largest size that still fits in height and width. |
<ForceMode> | Only Available if <KeepProportion> active. Sets how to scale images to import them into the placeholder. | 0= Will only scale down if image is larger than the placeholder. Smaller images will be left at original size. 1= Will always scale to the largest possible size, will scale up if image is smaller than placeholder. 2= Will scale to best matching size and crop any excess. |
<PosMode> | Sets the alignment of the imported image within the placeholder. | 0= Upper left 1= Upper Center 2= Upper Right 3= Center Left 4= Centered 5= Center Right 6=Lower Left 7= Lower Middle 8= Lower Right |
<RotateMode> | Sets if and how an imported image should be rotated in the placeholder | 0= Never Rotate 1= 90° 2= 180° 3= 270° 4= Landscape (Longer Side Horizontal) 5= Portrait (Longer Side Vertical) 6= Best Fit |
<Mirror> | Sets if the imported Image should be mirrored. | 0= Not mirrored 1= Mirrored |
<FitPos> | Sets the position of the placeholder on the page by specifying horizontal and vertical distance of the top left corner of the placeholder from the left and top edge of the page. Scpecified in mm. | Mm values, separated by a space e.g. <FitPos>150 100 </FitPos> to position the placeholder 150mm from the left and 100mm from the top. |
<Margin> | Sets Image Margins that are applied to the imported image. Margins go clockwise from left, top, right, down | Mm values, separated by a space e.g. <Margin> 10 20 30 40 </Margin> to set margins to 10mm left, 20mm top, 30mm right, 40mm down. |