Class MailmarkCodetext

Class MailmarkCodetext

Namespace: Aspose.BarCode.ComplexBarcode
Assembly: Aspose.BarCode.dll (25.1.0)

Class for encoding and decoding the text embedded in the 4-state Royal Mailmark code.

public sealed class MailmarkCodetext : IComplexCodetext

Inheritance

objectMailmarkCodetext

Implements

IComplexCodetext

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” - ריק או בדיקה
“1” - 1C (קמעונאי)
“2” - 2C (קמעונאי)
“3” - 3C (קמעונאי)
“4” - פרימיום (קמעונאות פרסום דואר) (לשימוש פוטנציאלי בעתיד)
“5” - דחוי (קמעונאי)
“6” - אווירי (קמעונאי) (לשימוש פוטנציאלי בעתיד)
“7” - שטח (קמעונאי) (לשימוש פוטנציאלי בעתיד)
“8” - פרימיום (גישה לרשת)
“9” - סטנדרטי (גישה לרשת)

public string Class { get; set; }

Property Value

string

DestinationPostCodePlusDPS

ה-PC וה-DP חייבים לעמוד בפורמט PAF.
מחרוזת בעלת תשעה תווים המצביעה על “XY11 " (שימו לב ל-5 רווחים בסוף) או תבנית של תווים המצביעה על קוד מיון מקומי.
קוד מיון מקומי מורכב מקוד דואר חיצוני, קוד דואר פנימי, וסיומת נקודת משלוח.

public string DestinationPostCodePlusDPS { get; set; }

Property Value

string

Format

“0” – ריק או בדיקה
“1” – מכתב
“2” – מכתב גדול

public int Format { get; set; }

Property Value

int

ItemID

הערך המקסימלי הוא 99999999.

public int ItemID { get; set; }

Property Value

int

SupplychainID

הערכים המקסימליים הם 99 עבור קוד ברק C ו-999999 עבור קוד ברק L.

public int SupplychainID { get; set; }

Property Value

int

VersionID

נכון להיום “1” – עבור קוד ברק Mailmark (0 ו-2 עד 9 ו-A עד Z שמורים לשימוש עתידי)

public int VersionID { get; set; }

Property Value

int

Methods

GetBarcodeType()

מקבל את סוג הקוד ברק.

public BaseEncodeType GetBarcodeType()

Returns

BaseEncodeType

סוג הקוד ברק.

GetConstructedCodetext()

בונה קוד טקסט מנתוני Mailmark.

public string GetConstructedCodetext()

Returns

string

קוד טקסט בנוי

InitFromString(string)

מאתחל את נתוני Mailmark מקוד טקסט בנוי.

public void InitFromString(string constructedCodetext)

Parameters

constructedCodetext string

קוד טקסט בנוי.

 Ελληνικά