Class
MaxiCodeEncoder

Defines the MaxiCode encoder class. MaxiCode is a fixed-size 2D barcode symbology using hexagonal modules arranged around a central bullseye pattern. Primarily used on UPS shipping labels.

Definition

Namespace:Telerik.Reporting.Barcodes

Assembly:Telerik.Reporting.dll

Syntax:

cs-api-definition
public class MaxiCodeEncoder : Encoder2D

Inheritance: objectEncoderEncoder2DMaxiCodeEncoder

Inherited Members Encoder.ToString()

Constructors

MaxiCodeEncoder()

Initializes a new instance of the MaxiCodeEncoder class.

Declaration

cs-api-definition
public MaxiCodeEncoder()

Properties

CountryCode

Gets or sets the ISO 3166 numeric country code for Modes 2 and 3. Mode 2 requires country code 840 (United States). Mode 3 accepts any valid 3-digit country code (e.g. 826 for UK). Ignored for Modes 4, 5, and 6.

Declaration

cs-api-definition
public int CountryCode { get; set; }

Property Value

int

Mode

Gets or sets the MaxiCode encoding mode. Mode 2: Structured Carrier Message with numeric postal code (US only). Mode 3: Structured Carrier Message with alphanumeric postal code (international). Mode 4: Standard Symbol, Standard Error Correction. Mode 5: Standard Symbol, Enhanced Error Correction. Mode 6: Reader programming.

Declaration

cs-api-definition
public MaxiCodeMode Mode { get; set; }

Property Value

MaxiCodeMode

PostalCode

Gets or sets the postal code for Modes 2 and 3. Mode 2 requires exactly 9 numeric digits (e.g. "152382802"). Mode 3 requires exactly 6 alphanumeric characters (e.g. "EC2A1N"). Ignored for Modes 4, 5, and 6.

Declaration

cs-api-definition
public string PostalCode { get; set; }

Property Value

string

ServiceClass

Gets or sets the 3-digit service class for Modes 2 and 3. Represents the type of service (e.g. 001 for standard). Ignored for Modes 4, 5, and 6.

Declaration

cs-api-definition
public int ServiceClass { get; set; }

Property Value

int