Class MailmarkCodetext
Namespace: Aspose.BarCode.ComplexBarcode
Assembly: Aspose.BarCode.dll (25.2.0)
Class for encoding and decoding the text embedded in the 4-state Royal Mailmark code.
public sealed class MailmarkCodetext : IComplexCodetext
Inheritance
Implements
Inherited Members
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
MailmarkCodetext()
public MailmarkCodetext()
Properties
Class
“0” - Null or Test “1” - 1C (Retail) “2” - 2C (Retail) “3” - 3C (Retail) “4” - Premium (RetailPublishing Mail) (for potential future use) “5” - Deferred (Retail) “6” - Air (Retail) (for potential future use) “7” - Surface (Retail) (for potential future use) “8” - Premium (Network Access) “9” - Standard (Network Access)
public string Class { get; set; }
Property Value
DestinationPostCodePlusDPS
The PC and DP must comply with a PAF format. Nine character string denoting international “XY11 " (note the 5 trailing spaces) or a pattern of characters denoting a domestic sorting code. A domestic sorting code consists of an outward postcode, an inward postcode, and a Delivery Point Suffix.
public string DestinationPostCodePlusDPS { get; set; }
Property Value
Format
“0” – Null or Test “1” – Letter “2” – Large Letter
public int Format { get; set; }
Property Value
ItemID
Maximum value is 99999999.
public int ItemID { get; set; }
Property Value
SupplychainID
Maximum values are 99 for Barcode C and 999999 for Barcode L.
public int SupplychainID { get; set; }
Property Value
VersionID
Currently “1” – For Mailmark barcode (0 and 2 to 9 and A to Z spare for future use)
public int VersionID { get; set; }
Property Value
Methods
GetBarcodeType()
Gets barcode type.
public BaseEncodeType GetBarcodeType()
Returns
Barcode type.
GetConstructedCodetext()
Construct codetext from Mailmark data.
public string GetConstructedCodetext()
Returns
Constructed codetext
InitFromString(string)
Initializes Mailmark data from constructed codetext.
public void InitFromString(string constructedCodetext)
Parameters
constructedCodetext
string
Constructed codetext.