Class Encodation
Represents the encodation used to generate the DataMatrix barcode.
Inheritance
Namespace: Telerik.XamarinForms.Barcode
Assembly: Telerik.XamarinForms.Barcode.dll
Syntax
public sealed class Encodation : Enum
Fields
Ascii
Represents the ASCII encodation. Allowed characters include double digit numerics and all values from the ASCII table.
Declaration
public const Encodation Ascii
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
public const Encodation AsciiGS1
Field Value
Encodation
|
Base256
Represents the Base256 encodation. Used to encode characters in the whole ASCII range.
Declaration
public const Encodation Base256
Field Value
Encodation
|
Remarks
Each character takes 8 bits.
C40
Represents the C40 encodation. Used primarily for upper-case alphanumerics.
Declaration
public const Encodation C40
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
public const Encodation Edifact
Field Value
Encodation
|
Remarks
Each character takes 6 bits.
Text
Represents the Text encodation. Used primarily for lower-case alphanumerics.
Declaration
public const Encodation Text
Field Value
Encodation
|
Remarks
The lower-case alphanumeric characters use 5.33 bits. The upper-case and special characters use 10.66 bits.
value__
Declaration
public int value__
Field Value
System.Int32
|
X12
Represents the X12 encodation. Uses the characters from ANSI X12 EDI data set.
Declaration
public const Encodation X12
Field Value
Encodation
|
Remarks
Each character takes 5.33 bits.