Class HanXinParameters
Han Xin Code specific parameters.
Inherited Members
Namespace: DRIT.Barcode.Generation
Assembly: DRIT.Barcode.dll
Syntax
public class HanXinParameters
Properties
AspectRatio
Gets or sets the aspect ratio (height/width) of the barcode. Default value: 1.0.
Declaration
public float AspectRatio { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
ECIEncoding
Gets or sets the ECI (Extended Channel Interpretation) encoding. Used when EncodeMode is ECI. Default value: None.
Declaration
public ECIEncodings ECIEncoding { get; set; }
Property Value
| Type | Description |
|---|---|
| ECIEncodings |
EncodeMode
Gets or sets the Han Xin encoding mode. Default value: Auto.
Declaration
public HanXinEncodeMode EncodeMode { get; set; }
Property Value
| Type | Description |
|---|---|
| HanXinEncodeMode |
ErrorLevel
Gets or sets the error correction level (1-8, where 1 = lowest, 8 = highest). 0 (default) lets the engine auto-select.
Declaration
public int ErrorLevel { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Version
Gets or sets the Han Xin version (1-84). 0 (default) lets the engine auto-detect the smallest version that fits.
Declaration
public int Version { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
ToString()
Returns a human-readable string representation of this HanXinParameters.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string |