The Barcode object provides methods to specify the type and format of barcodes.

Syntax

Barcode

Introduced: X18.

Methods

Method Description
getAdditionalText Gets an additional text that is displayed below or above the barcode image.
getAlignment Gets the alignment of the barcode image inside the control.
getAngle Gets the angle of the barcode image inside the control.
getBackColor Gets the background color of the barcode control.
getBarcodeType Gets the type of barcode that is rendered.
getForeColor Gets the foreground color of the barcode control.
getShowText Gets a value indicating whether the encrypted barcode text value is displayed below or above the barcode image or not.
getText Gets the text encrypted by the barcode.
getTextAlignment Gets a value indicating whether the barcode text and additional text is displayed below or above the barcode image.
getUpperTextLength Gets the maximum text length.
saveImage Saves the barcode image.
setAdditionalText Sets an additional text that is displayed below or above the barcode image.
setAlignment Sets the alignment of the barcode image inside the control.
setAngle Sets the angle of the barcode image inside the control.
setBackColor Sets the background color for the barcode control.
setBarcodeType Sets the type of barcode that is rendered.
setForeColor Sets the foreground color for the barcode control.
setShowText Sets a value indicating whether the encrypted barcode text value is displayed below or above the barcode image or not.
setText Sets the text the barcode should encrypt.
setTextAlignment Sets a value indicating whether the barcode text and additional text is displayed below or above the barcode image.
setUpperTextLength Sets the maximum text length.