
## HanXinEncodeMode enum

**Namespace:** `Aspose.Barcode.Generation`


Han Xin Code encoding mode. It is recommended to use Auto with ASCII / Chinese characters or Unicode for Unicode characters.


## Enum Values

| Name | Value | Description |
| --- | --- | --- |
| [AUTO](#auto) | `0` | Sequence of Numeric, Text, ECI, Binary Bytes and 4 GB18030 modes changing automatically. |
| [BINARY](#binary) | `1` | Binary byte mode encodes binary data in any form and encodes them in their binary byte. Every byte in Binary Byte mode is represented by 8 bits. |
| [ECI](#eci) | `2` | Extended Channel Interpretation (ECI) mode |
| [EXTENDED](#extended) | `5` | Extended mode will allow more flexible combinations of other modes, this mode is currently not implemented. |
| [UNICODE](#unicode) | `3` | Unicode mode designs a way to represent any text data reference to UTF8 encoding/charset in Han Xin Code. |
| [URI](#uri) | `4` | URI mode indicates the data represented in Han Xin Code is Uniform Resource Identifier (URI) reference to RFC 3986. |
### AUTO {#auto}

**Value:** `0`

Sequence of Numeric, Text, ECI, Binary Bytes and 4 GB18030 modes changing automatically.

### BINARY {#binary}

**Value:** `1`

Binary byte mode encodes binary data in any form and encodes them in their binary byte. Every byte in Binary Byte mode is represented by 8 bits.

### ECI {#eci}

**Value:** `2`

Extended Channel Interpretation (ECI) mode

### EXTENDED {#extended}

**Value:** `5`

Extended mode will allow more flexible combinations of other modes, this mode is currently not implemented.

### UNICODE {#unicode}

**Value:** `3`

Unicode mode designs a way to represent any text data reference to UTF8 encoding/charset in Han Xin Code.

### URI {#uri}

**Value:** `4`

URI mode indicates the data represented in Han Xin Code is Uniform Resource Identifier (URI) reference to RFC 3986.

