Properties determine the content and design of a barcode
Text Property
Text char
Text contains the content of the barcode. Usually this is entered without a check digit.
You can enter control codes in human readable form like this: <CR>, <LF>, ...
You can enter control codes in human readable form like this: <CR>, <LF>, ...
ShowText Property
ShowText bool
TRUE: The barcode has a human readable text.
FALSE: The barcode is displayed without the human readable text.
FALSE: The barcode is displayed without the human readable text.
Type Property
Type long
Specifies the barcode type with a unique number.
Rotate Property
Rotate long
The orientation of the barcode in degreess (0, 90, 180, 270).
Alignment Property
Alignment AlignConstants
Sets the alignment of the barcode to the left, to the right or centered. You can pass AlignLeft, AlignCenter or AlignRight.
TypeName Property
TypeName char
The name of the barcode type.
IsValid Property
IsValid bool
Returns TRUE if the barcode is valid. If it's invalid, the text cannot be coded with the selected barcode type.
IsSizeOk Property
IsSizeOk bool
Indicates whether the barcode can be displayed correctly. Returns TRUE if the dimensions of the control are large enough to display the barcode. This value can only become TRUE if the barcode itself is correct - i.e. the value "IsValid" is also TRUE.
Checksum Property
Checksum long
Returns the check digit.
Picture Property
Picture pictureobject
Returns the barcode picture.
If you need the picture in a specific size, use the CreatePictureBySize method before you retrieve the Picture.
If you need the picture in a specific size, use the CreatePictureBySize method before you retrieve the Picture.
BackColor Property
BackColor OLE_Color
Background color of the barcode.
ForeColor Property
ForeColor OLE_Color
Foreground color of the barcode.
Font Property
Font fontobject
Specifies the font by name, style, effects and the size for the text line.
Version Property
Version char
Returns the version number of the barcode object.
BorderHeight Property
BorderHeight long
Height of the border above and under the barcode in pixels. The border is painted in the current background color.
BorderWidth Property
BorderWidth long
Width of the border on the left and the right of the barcode in pixels. The border is painted in the current background color.
MaxBorderHeight Property
MaxBorderHeight long
The maximum possible value of BorderHeight.
MaxBorderWidth Property
MaxBorderWidth long
The maximum possible value of BorderWidth.
NotchHeightInPercent Property
NotchHeightInPercent long
Length of the notches in percent.
PrintFix Property
PrintFix bool
Not used. No functionality since version 6.0.0.
AutoType Property
AutoType bool
ActiveBarcde tries to detect the barcode type automatically. This property is obsolete and should not be relied on. It's implemented for compatibility purposes with old versions.