Inesoft PrintCE SDK EVC++
prnDrawPDF417

Draws PDF417 type barcode.

double prnDrawPDF417(
    LPCTSTR str,
    double pos_x,
    double pos_y,

    int columns,

    int rows,
    BOOL trun_symbol,
    BOOL add_text
);

Parameters

 

str

[in] string to be "bar coded".

 

pos_x, pos_y

[in] coordinates on the page where the bar code will be drawn. If pos_x is a negative value then no bar code is actually drawn and actual width of this bar code is returned. If pos_y is a negative value then no bar code is actually drawn and actual height of this bar code is returned. Coordinates are set in the current measurement units (please refer to prnSetMeasureUnit)

 

columns

[in] PDF417 columns (1-30), default is 13


rows

[in] PDF417 rows (3-90), default is 30


trun_symbol

[in] if TRUE - draws truncated PDF417. If FALSE, draws normal PDF417 (default is FALSE)

 

add_text

[in] if TRUE - draws the string below the bar code. If FALSE, draws only the bar code.

 

Return Values

Width of the bar code, or height of the bar code (if pos_y is a negative value).
Width or height are return in the current measurement units (please refer to prnSetMeasureUnit)

 


© 2009 Inesoft. All rights reserved.