Enum
Encodation

Represents the encodation used to generate the DataMatrix barcode.

Definition

Namespace:Telerik.Maui.Controls.Barcode

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
public enum Encodation

Fields

Ascii

Represents the ASCII encodation. Allowed characters include double digit numerics and all values from the ASCII table.

Declaration

cs-api-definition
Ascii = 0

Field Value

Encodation

Remarks

The double digit numerics use 4 bits. The ASCII values in the 0-127 range use 8 bits. The ASCII values in 128-255 range use 16 bits.

AsciiGS1

Represents the ASCII GS1 encodation. Used to encode FNC1 characters in the ASCII range.

Declaration

cs-api-definition
AsciiGS1 = 6

Field Value

Encodation

Base256

Represents the Base256 encodation. Used to encode characters in the whole ASCII range.

Declaration

cs-api-definition
Base256 = 5

Field Value

Encodation

Remarks

Each character takes 8 bits.

C40

Represents the C40 encodation. Used primarily for upper-case alphanumerics.

Declaration

cs-api-definition
C40 = 1

Field Value

Encodation

Remarks

The upper-case alphanumeric characters use 5.33 bits. The lower-case and special characters use 10.66 bits.

Edifact

Represents the EDIFACT encodation. Used to encode ASCII values in the 32-94 range.

Declaration

cs-api-definition
Edifact = 4

Field Value

Encodation

Remarks

Each character takes 6 bits.

Text

Represents the Text encodation. Used primarily for lower-case alphanumerics.

Declaration

cs-api-definition
Text = 2

Field Value

Encodation

Remarks

The lower-case alphanumeric characters use 5.33 bits. The upper-case and special characters use 10.66 bits.

X12

Represents the X12 encodation. Uses the characters from ANSI X12 EDI data set.

Declaration

cs-api-definition
X12 = 3

Field Value

Encodation

Remarks

Each character takes 5.33 bits.