Table of Contents

TTMSFNCWXCustomBarcode Class

Base class for the barcode control. Renders a barcode of the selected symbology from a text value through an embedded web view and exposes the appearance, text, border, and encoding options as well as the ability to retrieve the rendered image as a bitmap.

API unit family: TMSFNCWXBarcode Inherits from: TTMSFNCCustomWEBControl

Syntax

TTMSFNCWXCustomBarcode = class(TTMSFNCCustomWEBControl)

Remarks

This class declares the API as protected; the published TTMSFNCWXBarcode descendant surfaces it at design time.

Methods

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