Class PrimaryData
Namespace: Aspose.BarCode.ComplexBarcode
Assembly: Aspose.BarCode.dll (25.2.0)
Class for storing HIBC LIC primary data.
public class PrimaryData
Inheritance
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
PrimaryData()
public PrimaryData()
Properties
LabelerIdentificationCode
Identifies date of labeler identification code. Labeler identification code must be 4 symbols alphanumeric string, with first character always being alphabetic.
public string LabelerIdentificationCode { get; set; }
Property Value
ProductOrCatalogNumber
Identifies product or catalog number. Product or catalog number must be alphanumeric string up to 18 sybmols length.
public string ProductOrCatalogNumber { get; set; }
Property Value
UnitOfMeasureID
Identifies unit of measure ID. Unit of measure ID must be integer value from 0 to 9.
public int UnitOfMeasureID { get; set; }
Property Value
Methods
Equals(object)
Returns a value indicating whether this instance is equal to a specified Aspose.BarCode.ComplexBarcode.PrimaryData value.
public override bool Equals(object obj)
Parameters
obj
object
An Aspose.BarCode.ComplexBarcode.PrimaryData value to compare to this instance.
Returns
true if obj has the same value as this instance; otherwise, false.
GetHashCode()
Returns the hash code for this instance.
public override int GetHashCode()
Returns
A 32-bit signed integer hash code.
ParseFromString(string)
Instantiates primary data from string format according HIBC LIC specification.
public void ParseFromString(string primaryDataCodetext)
Parameters
primaryDataCodetext
string
Formatted string.
ToString()
Converts data to string format according HIBC LIC specification.
public override string ToString()
Returns
Formatted string.