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.

Type Property

Type long
Specifies the barcode type.

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.

TypeName Property

TypeName char
Contains 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.
Hint: If you need the picture in a specific size, please 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 controls version number.

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

MaxBorderHeight Property

MaxBorderHeight long
MaxBorderHeight returns the maximum possible value of BorderHeight.

MaxBorderWidth Property

MaxBorderWidth long
MaxBorderWidth returns the maximum possible value of BorderWidth.

NotchHeightInPercent Property

NotchHeightInPercent long
Sets the length of the notches in percent.

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.

| Home | Shop | Download | Email | Privacy policy | Imprint | Version 6.8.0
Copyright © Frank Horn & Lars Schenk
All trademarks and product names mentioned are the property of their respective owners.

We use cookies to provide you with the best experience and functionality on our website. By using our site you agree to this. read more >