Table of Contents

TTMSFNCWXBarcode Class

Barcode component that renders a symbol of a selectable symbology from a text value. Publishes the appearance, text, border, and encoding options of TTMSFNCWXCustomBarcode for design-time use.

API unit family: TMSFNCWXBarcode Inherits from: TTMSFNCWXCustomBarcode

Syntax

TTMSFNCWXBarcode = class(TTMSFNCWXCustomBarcode)

Properties

Name Description
AltText Alternate text encoded into the symbol instead of the human-readable value shown below it. When empty, the encoded value matches the visible text. (inherited from TTMSFNCWXCustomBarcode)
BackgroundColor Fill color behind the symbol. When set to a null/transparent color the background is left transparent. (inherited from TTMSFNCWXCustomBarcode)
BarColor Color used to draw the bars (or modules) of the symbol. (inherited from TTMSFNCWXCustomBarcode)
BarcodeBorder Border drawn around the rendered symbol. See TTMSFNCWXBarcodeBorder. (inherited from TTMSFNCWXCustomBarcode)
BarcodeType Symbology used to encode Text. (inherited from TTMSFNCWXCustomBarcode)
DefaultSize When True, the symbol is rendered at the symbology's natural default size instead of being scaled to fill the control bounds. (inherited from TTMSFNCWXCustomBarcode)
Dotty When True, matrix symbols are rendered as separated dots rather than solid modules. (inherited from TTMSFNCWXCustomBarcode)
HorizontalInkspread Horizontal ink-spread compensation, in modules. (inherited from TTMSFNCWXCustomBarcode)
HorizontalTextAlign Horizontal alignment of the human-readable text. (inherited from TTMSFNCWXCustomBarcode)
ImageFormat Image format used to render the symbol. (inherited from TTMSFNCWXCustomBarcode)
IncludeCheck When True, a check digit is calculated and added to the encoded data for symbologies that support an optional check digit. (inherited from TTMSFNCWXCustomBarcode)
IncludeCheckInText When True, the calculated check digit is also shown in the human-readable text. (inherited from TTMSFNCWXCustomBarcode)
IncludeText When True, the human-readable interpretation text is rendered below the symbol. (inherited from TTMSFNCWXCustomBarcode)
Inkspread Amount, in modules, by which bars are expanded in both directions to compensate for ink spread during printing. (inherited from TTMSFNCWXCustomBarcode)
LibraryLocation Selects whether the rendering library is loaded from an online source or from a local copy. (inherited from TTMSFNCWXCustomBarcode)
Scale Integer scale factor applied to the rendered symbol; higher values produce a larger, higher-resolution image. (inherited from TTMSFNCWXCustomBarcode)
Settings Symbology-specific encoding options. See TTMSFNCWXBarcodeSettings. (inherited from TTMSFNCWXCustomBarcode)
Text Data value encoded into the symbol. The value must satisfy the active symbology's format rules or rendering fails. (inherited from TTMSFNCWXCustomBarcode)
TextSize Font size of the human-readable text below the symbol. (inherited from TTMSFNCWXCustomBarcode)
VerticalInkspread Vertical ink-spread compensation, in modules. (inherited from TTMSFNCWXCustomBarcode)
VerticalTextAlign Vertical placement of the human-readable text relative to the symbol. (inherited from TTMSFNCWXCustomBarcode)

Methods

Name Description
GetBarcode Encodes the supplied value with the current settings and returns the rendered barcode as a bitmap. (inherited from TTMSFNCWXCustomBarcode)
Resize Re-renders the barcode to fit the new control bounds after a resize. (inherited from TTMSFNCWXCustomBarcode)

Events

Name Description
OnGetBarcode Occurs after a barcode image has been generated, delivering the rendered bitmap. (inherited from TTMSFNCWXCustomBarcode)

Used by