Table of Contents

Interface "Barcode Font Provider"

Namespace: System.Text

Interface for barcode font providers.

Methods

GetSupportedBarcodeSymbologies

Gets a list of the barcode symbologies that the provider supports.

procedure GetSupportedBarcodeSymbologies(var Result: List of [Enum "Barcode Symbology"])

Parameters

Name Type Description
Result List of [Enum System.Text."Barcode Symbology"]

A list of barcode symbologies.

EncodeFont

Encodes an input text into a barcode.

procedure EncodeFont(InputText: Text, BarcodeSymbology: Enum "Barcode Symbology"): Text

Parameters

Name Type Description
InputText Text

The text to encode.

BarcodeSymbology Enum System.Text."Barcode Symbology"

The symbology to use for the encoding.

Returns

Type Description
Text

The encoded barcode.

EncodeFont

Encodes an input text into a barcode.

procedure EncodeFont(InputText: Text, BarcodeSymbology: Enum "Barcode Symbology", BarcodeEncodeSettings: Record "Barcode Encode Settings" temporary): Text

Parameters

Name Type Description
InputText Text

The text to encode.

BarcodeSymbology Enum System.Text."Barcode Symbology"

The symbology to use for the encoding.

BarcodeEncodeSettings Table System.Text."Barcode Encode Settings"

The settings to use when encoding the text.

Returns

Type Description
Text

The encoded barcode.

ValidateInput

Validates if the input text is in a valid format to be encoded using the provided barcode symbology.

procedure ValidateInput(InputText: Text, BarcodeSymbology: Enum "Barcode Symbology")

Parameters

Name Type Description
InputText Text

The text to validate

BarcodeSymbology Enum System.Text."Barcode Symbology"

The barcode symbology for which to check.

Remarks

The function should throw an error if the input text is in invalid format or if the symbology is not supported by the provider.

ValidateInput

Validates if the input text is in a valid format to be encoded using the provided barcode symbology.

procedure ValidateInput(InputText: Text, BarcodeSymbology: Enum "Barcode Symbology", BarcodeEncodeSettings: Record "Barcode Encode Settings" temporary)

Parameters

Name Type Description
InputText Text

The text to validate

BarcodeSymbology Enum System.Text."Barcode Symbology"

The barcode symbology for which to check.

BarcodeEncodeSettings Table System.Text."Barcode Encode Settings"

The settings to use for the validation.

Remarks

The function should throw an error if the input text is in invalid format or if the symbology is not supported by the provider.

See also