API Reference
HanXinEncodingOptions
Controls Han Xin Code version, error correction, mask, ECI, and compaction.
Inheritance
- Object
- HanXinEncodingOptions
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters
- Method HanXinCode.Encode
- Method HanXinEncoder.EncodeBytes
- Method HanXinEncoder.EncodeText
- Method MatrixBarcodeEncoder.EncodeHanXin
Constructors
public HanXinEncodingOptions() #Inherited Methods
Properties
public HanXinEncodingMode Mode { get; set; } #Gets or sets the compaction mode.
public Nullable<Int32> Version { get; set; } #Gets or sets an exact version from 1 through 84, or null for the smallest fitting version.
public Int32 ErrorCorrectionLevel { get; set; } #Gets or sets the error-correction level from 1 through 4.
public Nullable<Int32> Mask { get; set; } #Gets or sets an exact data mask from 0 through 3, or null to minimize the standard penalty score.
public Nullable<Int32> EciAssignmentNumber { get; set; } #Gets or sets an optional ECI assignment from 0 through 999999. In binary mode with no TextEncoding, a known ECI selects its matching encoding.
public Encoding TextEncoding { get; set; } #Gets or sets the text encoding. A matching known ECI is inferred; unknown encodings require EciAssignmentNumber. Text that cannot be represented is rejected.