Class DataMatrixParameters

Class DataMatrixParameters

Namespace: Aspose.BarCode.Generation
Assembly: Aspose.BarCode.dll (25.2.0)

DataMatrix parameters.

[XmlSerialization(Name = "Aspose.BarCode.Reader.Properties.BarcodeParameters.DataMatrixParameters")]
public class DataMatrixParameters

Inheritance

objectDataMatrixParameters

Inherited Members

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Properties

AspectRatio

Height/Width ratio of 2D BarCode module.

[XmlSerialization(Type = XmlSerializationType.Element)]
public float AspectRatio { get; set; }

Property Value

float

Columns

Columns count.

[Obsolete("This property is obsolete. Use DataMatrixVersion instead.", false)]
[XmlSerialization(Type = XmlSerializationType.Element)]
public int Columns { get; set; }

Property Value

int

DataMatrixEcc

Gets or sets a Datamatrix ECC type. Default value: DataMatrixEccType.Ecc200.

[XmlSerialization(Type = XmlSerializationType.Element)]
public DataMatrixEccType DataMatrixEcc { get; set; }

Property Value

DataMatrixEccType

DataMatrixEncodeMode

Encode mode of Datamatrix barcode. Default value: DataMatrixEncodeMode.Auto.

[XmlSerialization(Type = XmlSerializationType.Element)]
public DataMatrixEncodeMode DataMatrixEncodeMode { get; set; }

Property Value

DataMatrixEncodeMode

DataMatrixVersion

Gets or sets a Datamatrix symbol size. Default value: DataMatrixVersion.Auto.

[XmlSerialization(Type = XmlSerializationType.Element)]
public DataMatrixVersion DataMatrixVersion { get; set; }

Property Value

DataMatrixVersion

ECIEncoding

Gets or sets ECI encoding. Used when DataMatrixEncodeMode is Auto. Default value: ISO-8859-1

[XmlSerialization(Type = XmlSerializationType.Element)]
public ECIEncodings ECIEncoding { get; set; }

Property Value

ECIEncodings

IsReaderProgramming

Used to instruct the reader to interpret the data contained within the symbol as programming for reader initialization. Default value: false

[XmlSerialization(Type = XmlSerializationType.Element)]
public bool IsReaderProgramming { get; set; }

Property Value

bool

MacroCharacters

Macro Characters 05 and 06 values are used to obtain more compact encoding in special modes. Can be used only with DataMatrixEccType.Ecc200 or DataMatrixEccType.EccAuto. Cannot be used with EncodeTypes.GS1DataMatrix Default value: MacroCharacters.None.

[XmlSerialization(Type = XmlSerializationType.Element)]
public MacroCharacter MacroCharacters { get; set; }

Property Value

MacroCharacter

Rows

Rows count.

[Obsolete("This property is obsolete. Use DataMatrixVersion instead.", false)]
[XmlSerialization(Type = XmlSerializationType.Element)]
public int Rows { get; set; }

Property Value

int

StructuredAppendBarcodeId

Barcode ID for Structured Append mode of Datamatrix barcode. Default value: 0

[XmlSerialization(Type = XmlSerializationType.Element)]
public int StructuredAppendBarcodeId { get; set; }

Property Value

int

StructuredAppendBarcodesCount

Barcodes count for Structured Append mode of Datamatrix barcode. Default value: 0

[XmlSerialization(Type = XmlSerializationType.Element)]
public int StructuredAppendBarcodesCount { get; set; }

Property Value

int

StructuredAppendFileId

File ID for Structured Append mode of Datamatrix barcode. Default value: 0

[XmlSerialization(Type = XmlSerializationType.Element)]
public int StructuredAppendFileId { get; set; }

Property Value

int

Methods

ToString()

Returns a human-readable string representation of this Aspose.BarCode.Generation.DataMatrixParameters.

public override string ToString()

Returns

string

A string that represents this Aspose.BarCode.Generation.DataMatrixParameters.

 English