[]
        
(Showing Draft Content)

GrapeCity.Documents.Barcode.DataMatrixOptions

Class DataMatrixOptions

Namespace
GrapeCity.Documents.Barcode
Assembly
GcDocs.Barcode.dll

The options of DataMatrix.

public class DataMatrixOptions : BarCodeOptionsBase
Inheritance
object
DataMatrixOptions
Inherited Members
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
object.MemberwiseClone()

Constructors

DataMatrixOptions()

Initializes a new instance of the DataMatrixOptions class.

public DataMatrixOptions()

DataMatrixOptions(string)

Initializes a new instance of the DataMatrixOptions class.

public DataMatrixOptions(string str)

Parameters

str string

The serialized data string.

Properties

Ecc000_140SymbolSize

Gets or sets the size of the ECC000-140 symbol.

public DataMatrixEcc000_140SymbolSize Ecc000_140SymbolSize { get; set; }

Property Value

DataMatrixEcc000_140SymbolSize

The size of the ECC000-140 symbol.

Ecc200EncodingMode

Gets or sets the ECC200 encoding mode.

public DataMatrixEcc200EncodingMode Ecc200EncodingMode { get; set; }

Property Value

DataMatrixEcc200EncodingMode

The ECC200 encoding mode.

Ecc200SymbolSize

Gets or sets the size of the ECC200 symbol.

public DataMatrixEcc200SymbolSize Ecc200SymbolSize { get; set; }

Property Value

DataMatrixEcc200SymbolSize

The size of the ECC200 symbol.

EccMode

Gets or sets the ECC mode.

public DataMatrixEccMode EccMode { get; set; }

Property Value

DataMatrixEccMode

The ECC mode.

FileIdentifier

Gets or sets the file identifier of a related group of structured append symbols.

public byte FileIdentifier { get; set; }

Property Value

byte

The file identifier.

Remarks

The valid file indentifier value should be within [1,254], set file identifier to 0 lets the file identifier of the symbols calculated automatically.

StructuredAppend

Gets or sets a value indicating whether the current symbol is part of structured append symbols.

public bool StructuredAppend { get; set; }

Property Value

bool

true if the current symbol is part of structured append symbols; otherwise, false.

Remarks

Structured append is only supported by ECC200.

StructureNumber

Gets or sets the structure number of current symbol within the structuerd append symbols.

public int StructureNumber { get; set; }

Property Value

int

The structure number of current symbol within the structured append symbols. The structure number starts from 0, and should be less than both the symbol amount and the max symbol count(16).

Remarks

The structure number will only be used when ECC mode is DataMatrixEccMode.ECC200.

Methods

AssignFrom(BarCodeOptionsBase)

Assigns (copies) properties from another BarCodeOptionsBase to the current object.

public override void AssignFrom(BarCodeOptionsBase source)

Parameters

source BarCodeOptionsBase

The source object to copy properties from.

Clone()

Makes object copy

public override object Clone()

Returns

object

Reset()

Resets all properties to default values.

public void Reset()

ResetEncoding()

protected void ResetEncoding()

ShouldSerialize()

Indicates whether any property of this object has changed from its default value.

public bool ShouldSerialize()

Returns

bool

Return true if any object has changed from its default value, false otherwise.

ShouldSerializeEncoding()

protected bool ShouldSerializeEncoding()

Returns

bool

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.