OCX: Properties

Properties of des Controls

Text Property


Text char
Text contains the content of the barcode. General without check digit.
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. (default)
FALSE: The barcode is displayed without the text.

Rotate Property


Rotate long
Rotate contains the orientation of the displayed barcode in degreess (0,90,180,270).

Alignment Property


Alignment AlignConstants
Alignment sets the alignment (on the left, on the right, centered) of the barcode. You can pass AlignLeft, AlignCenter or AlignRight.

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.

Picture Property


Picture pictureobject
Returns the barcode picture.
Hint: If you need the picture in a specific size, please use the CreatePictureBySize method before you retrieve the Picture.

Font Property


Font fontobject
Specifies the font by name, style, effects and the size for the text line.

BorderHeight Property


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 Property


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).

PrintFix Property


PrintFix bool
Starting Version 6.0.0: No functionality
Up to Version 5.60: 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 Property


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.