On line guide/help
You are on page 23 of the online help. Navigate sequentially through the guide pages or search for a topic of interest to you.
Index Prev. NextImage
Print an image
Print an image using a graphics file. The supported graphic formats are the most common ones such as: BMP, GIF, JPEP, PGN, SVG
Parameters
Elements / attributes of the <barcode> element:
Coordinate parameters (required) that define the print area of the picture:
<x> or <x1> (numeric, float) X coordinate for the upper left corner of the image area
<y> or <y1> (numeric, float) Y coordinate for the upper left corner of the image area
<x2> (numeric, float) X coordinate for the bottom-right corner of the image area
<y2> (numeric, float) Y coordinate for the bottom-right corner of the image area
The above parameters can alternatively be indicated in this way (one of the two methods is mandatory):
<x> or <x1> (numeric, float) X coordinate for the upper left corner of the image area
<y> or <y1> (numeric, float) Y coordinate for the upper left corner of the image area
<width> (numeric, float) Width of the image area
<height> (numeric, float) Height of the image area
Other parameters:
<align> (string) Indicates the alignment of the pointer next to image insertion relative to image height. The value can be:T: top-right for LTR or top-left for RTLM: middle-right for LTR or middle-left for RTLB: bottom-right for LTR or bottom-left for RTLN: next line If the alignment is an empty string, then the pointer will be restored on the starting SVG position.
<palign> (string) Allows to center or align the image on the current line. Possible values are:L : left alignC : centerR : right align'' : empty string : left for LTR or right for RTL
<border> (number, integer) Indicates if borders must be drawn around the cell. The value can be a number:0: no border (default)1: frame
Extra optional parameters:
<printif>: A simple expression prints this graphic element only if it evaluates to true. If it is not defined, the element is always printed.
The expression must be written using placeholders or constants and one of these comparison operators:
= (identical)
> (greater than)
< (less than)
>= (greater than or equal to)
<= (less than or equal to)
!= (not equal to)
Examples of expressions using placeholders/constants:
{data_set.doc_type}=1
{data_set.level}>={MIN_LEVEL}