Class MailmarkCodetext
Royal Mail Mailmark 4-State codetext. Serializes Mailmark fields to the 22/26-character barcode C/L format.
Implements
Inherited Members
Namespace: DRIT.Barcode.Complex
Assembly: DRIT.Barcode.dll
Syntax
public class MailmarkCodetext : IComplexCodetext
Properties
Class
Gets or sets the class (0-9, A-E).
Declaration
public string Class { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DestinationPostCodePlusDPS
Gets or sets the destination post code plus DPS (9 characters).
Declaration
public string DestinationPostCodePlusDPS { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DmCodeType
Gets or sets the Mailmark DM code type (for 2D variant).
Declaration
public MailmarkDmCodeType DmCodeType { get; set; }
Property Value
| Type | Description |
|---|---|
| MailmarkDmCodeType |
EncodeType
Gets the encode type for this codetext.
Declaration
public BaseEncodeType EncodeType { get; }
Property Value
| Type | Description |
|---|---|
| BaseEncodeType |
Format
Gets or sets the format type ("1" or "2").
Declaration
public string Format { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ItemID
Gets or sets the item ID (8 digits).
Declaration
public string ItemID { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SupplyChainID
Gets or sets the supply chain ID.
Declaration
public string SupplyChainID { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
VersionID
Gets or sets the version ID (1-4).
Declaration
public int VersionID { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
GetConstructedCodetext()
Constructs the codetext string from the codetext object's properties.
Declaration
public string GetConstructedCodetext()
Returns
| Type | Description |
|---|---|
| string | The constructed codetext string. |
InitFromString(string)
Initializes the codetext object from a constructed codetext string.
Declaration
public void InitFromString(string constructedCodetext)
Parameters
| Type | Name | Description |
|---|---|---|
| string | constructedCodetext | The constructed codetext string. |