The dBarcode DLL uses a single data structure for transferring data into the library routines, BARCODE, which is defined in DLSBAR34.H along with a long pointer to the structure LPBAR.
typedef struct
tagBARCODE
{
int
code;
char
name[16];
int
show_text;
int
auto_parity;
int
orientation;
int
show_checkdigit;
int
nominal_size;
int
line_reduction;
int
border_thickness;
COLORREF
fore_color;
COLORREF
back_color;
int
error;
char
string[84];
int
req_number;
int
parity;
int
alphabetic;
int
length;
int
height;
int
subscript;
int
flags;
int
textgap;
char
string2[84];
int
bearer_size;
int
spare;
int
xunit;
int
bearerthick;
int
margin_size;
int
barratio;
int
charspacing;
int
justification;
} BARCODE;
The components for this structure are defined below.
More: