Class MaxiCodeMode2Codetext
MaxiCode codetext for mode 2 (Structured Carrier Message with 9-digit numeric postal code).
Implements
Inherited Members
Namespace: DRIT.Barcode.Complex
Assembly: DRIT.Barcode.dll
Syntax
public class MaxiCodeMode2Codetext : MaxiCodeCodetext, IComplexCodetext
Constructors
MaxiCodeMode2Codetext()
MaxiCode codetext for mode 2 (Structured Carrier Message with 9-digit numeric postal code).
Declaration
public MaxiCodeMode2Codetext()
Properties
CountryCode
Gets or sets the 3-digit ISO country code.
Declaration
public int CountryCode { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
EncodeType
Gets the encode type for this codetext.
Declaration
public override BaseEncodeType EncodeType { get; }
Property Value
| Type | Description |
|---|---|
| BaseEncodeType |
Overrides
PostalCode
Gets or sets the postal code (up to 9 digits).
Declaration
public string PostalCode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SecondMessage
Gets or sets the secondary message.
Declaration
public MaxiCodeSecondMessage SecondMessage { get; set; }
Property Value
| Type | Description |
|---|---|
| MaxiCodeSecondMessage |
ServiceCategory
Gets or sets the 3-digit service class.
Declaration
public int ServiceCategory { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
GetConstructedCodetext()
Constructs the codetext string from the codetext object's properties.
Declaration
public override string GetConstructedCodetext()
Returns
| Type | Description |
|---|---|
| string | The constructed codetext string. |
Overrides
InitFromString(string)
Initializes the codetext object from a constructed codetext string.
Declaration
public override void InitFromString(string constructedCodetext)
Parameters
| Type | Name | Description |
|---|---|---|
| string | constructedCodetext | The constructed codetext string. |