DC_DrawCodaBar

Draws Codabar type barcode.
String can be any length and contain symbols 0-9 and - $ : / . +. Start/stop symbols A,B,C,D are also supported.

LONG DC_DrawCodaBar(
    LPCTSTR str,
    double pos_x,
    double pos_y,
    bool add_text,
    int thickness
);

Parameters

str

string to be "bar coded".

pos_x,pos_y

coordinates on the page where the bar code will be drawn.

addtext

if True - draws the string below the bar code. If FALSE, draws only the bar code.

thickness

bar code bar widths.
   0 - smallest
   1 - middle size
   2 - widest.

 

Return Values

SPRT_SUCCEED indicates success, SPRT_FAILED indicates failure



© 2008 SPRT . All rights reserved.