Version 5.56 | Index Print view


OCX: Properties

Properties of des Controls
Name Type Description read-only
Text char Text contains the content of the barcode. General without check digit. -
ShowText bool TRUE: The barcode has a human readable text. (default)
FALSE: The barcode is displayed without the text.
-
Type long Specifies the barcode type. -
Rotate long Rotate contains the orientation of the displayed barcode in degreess (0,90,180,270). -
Alignment AlignConstants Alignment sets the alignment (on the left, on the right, centered) of the barcode. You can pass AlignLeft, AlignCenter or AlignRight. -
TypeName char Contains the name of the barcode type. -
IsValid bool Returns TRUE if the barcode is valid. If it's invalid, the text cannot be coded with the selected barcode type. read-only
IsSizeOk bool Returns TRUE if the barcode is displayed correct. If it's FALSE, the barcode cannot be displayed because the controls dimensions are too small to display the barcode correct. read-only
Checksum long Returns the check digit. read-only
Picture pictureobject Returns the barcode picture. read-only
BackColor OLE_Color Background color of the barcode. -
ForeColor OLE_Color Foreground color of the barcode. -
Font fontobject Specifies the font by name, style, effects and the size for the text line. -
Version char Returns the controls version number. read-only
BorderHeight long BorderHeight sets the height of the border above and under the barcode in pixels. The border is painted in the current background color (BackColor). -
BorderWidth long BorderWidth sets the width of the border on the left and the right of the barcode in pixels. The border is painted in the current background color (BackColor). -
MaxBorderHeight long MaxBorderHeight returns the maximum possible value of BorderHeight. read-only
MaxBorderWidth long MaxBorderWidth returns the maximum possible value of BorderWidth. read-only
NotchHeightInPercent long Sets the length of the notches in percent. -
PrintFix bool If you have the problem that the bars of the code are too thin when printing (i.e. with Excel), set this property to true. -
AutoType bool This property should not be used. It's only implemented for compatibility purposes to old versions. ActiveBarcde tries to detect the barcode type automatically. -



| Home | Shop | Email | Datenschutz | Sitemap | © Lars Schenk & Frank Horn

All trademarks and product names mentioned are the property of their respective owners.

ActiveBarcode:
Barcode OCX and Software
The complete solution for all popular barcode types
www.ActiveBarcode.com