The SetBarDefs function set the default values of the barcode parameters which may then be used in subsequent BarFontx calls.
VB declaration
Declare Function SetBarDefs(ByRef ty As Long, ByRef pc As Long, ByRef p1 As Long, ByRef p2 As Long, ByRef ht As Long, ByRef bl, ByRef it, ByRef fn As String) As Long
Where:
Ty is an INTEGER containing the default barcode type
pc is a BOOL containing the default setting for AutoCheckDigit
p1 is an integer containing the default value of Extra1
p2 is an integer containing the default value of Extra2
ht is an integer containing the default barcode font height (in points)
bl is a BOOL containing the default barcode font Bold state
it is a BOOL containing the default barcode font Italic state
fn is a String contianing the facename of the barcode font.
C declaration
int WINAPI SetBarDefs(LPINT ptype, LPINT pchk, LPINT pex1, LPINT pex2, LPINT pfht, LPINT pbold, LPINT pital, LPSTR pfname);
More: