
## HanXinExtCodetextBuilder class

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


Extended codetext generator for Han Xin Code for Extended Mode of HanXinEncodeMode


## Constructors

| Name | Description |
| --- | --- |
| [__construct](#constructor) |  |

## Methods

| Name | Static | Description |
| --- | --- | --- |
| [addAuto](#addauto) | No | Adds codetext fragment in Auto mode |
| [addBinary](#addbinary) | No | Adds codetext fragment in Binary mode |
| [addCommonChineseRegionOne](#addcommonchineseregionone) | No | Adds codetext fragment in Common Chinese Region One mode |
| [addCommonChineseRegionTwo](#addcommonchineseregiontwo) | No | Adds codetext fragment in Common Chinese Region Two mode |
| [addECI](#addeci) | No | Adds codetext fragment in ECI mode |
| [addGB18030FourByte](#addgb18030fourbyte) | No | Adds codetext fragment in GB18030 Four Byte mode |
| [addGB18030TwoByte](#addgb18030twobyte) | No | Adds codetext fragment in GB18030 Two Byte mode |
| [addGS1](#addgs1) | No | Adds codetext fragment in GS1 mode |
| [addNumeric](#addnumeric) | No | Adds codetext fragment in Numeric mode |
| [addText](#addtext) | No | Adds codetext fragment in Text mode |
| [addUnicode](#addunicode) | No | Adds codetext fragment in Unicode mode |
| [addURI](#adduri) | No | Adds codetext fragment in URI mode |
| [init](#init) | No |  |

## Properties

| Name | Read/Write | Description |
| --- | --- | --- |
| [ExtendedCodetext](#extendedcodetext) | Read-only | Returns codetext from Extended mode codetext builder |

### HanXinExtCodetextBuilder__construct() {#constructor}

### addAutoaddAuto(string $text) {#addauto}

Adds codetext fragment in Auto mode

| Parameter | Type | Description |
| --- | --- | --- |
| `$text` | `string` |  |

### addBinaryaddBinary(string $text) {#addbinary}

Adds codetext fragment in Binary mode

| Parameter | Type | Description |
| --- | --- | --- |
| `$text` | `string` | Codetext string |

### addCommonChineseRegionOneaddCommonChineseRegionOne(string $text) {#addcommonchineseregionone}

Adds codetext fragment in Common Chinese Region One mode

| Parameter | Type | Description |
| --- | --- | --- |
| `$text` | `string` | Codetext string |

### addCommonChineseRegionTwoaddCommonChineseRegionTwo(string $text) {#addcommonchineseregiontwo}

Adds codetext fragment in Common Chinese Region Two mode

| Parameter | Type | Description |
| --- | --- | --- |
| `$text` | `string` | Codetext string |

### addECIaddECI(string $text, int $encoding) {#addeci}

Adds codetext fragment in ECI mode

| Parameter | Type | Description |
| --- | --- | --- |
| `$text` | `string` |  |
| `$encoding` | `int` |  |

### addGB18030FourByteaddGB18030FourByte(string $text) {#addgb18030fourbyte}

Adds codetext fragment in GB18030 Four Byte mode

| Parameter | Type | Description |
| --- | --- | --- |
| `$text` | `string` | Codetext string |

### addGB18030TwoByteaddGB18030TwoByte(string $text) {#addgb18030twobyte}

Adds codetext fragment in GB18030 Two Byte mode

| Parameter | Type | Description |
| --- | --- | --- |
| `$text` | `string` | Codetext string |

### addGS1addGS1(string $text) {#addgs1}

Adds codetext fragment in GS1 mode

| Parameter | Type | Description |
| --- | --- | --- |
| `$text` | `string` | Codetext string |

### addNumericaddNumeric(string $text) {#addnumeric}

Adds codetext fragment in Numeric mode

| Parameter | Type | Description |
| --- | --- | --- |
| `$text` | `string` | Codetext string |

### addTextaddText(string $text) {#addtext}

Adds codetext fragment in Text mode

| Parameter | Type | Description |
| --- | --- | --- |
| `$text` | `string` | Codetext string |

### addUnicodeaddUnicode(string $text) {#addunicode}

Adds codetext fragment in Unicode mode

| Parameter | Type | Description |
| --- | --- | --- |
| `$text` | `string` | Codetext string |

### addURIaddURI(string $text) {#adduri}

Adds codetext fragment in URI mode

| Parameter | Type | Description |
| --- | --- | --- |
| `$text` | `string` | Codetext string |

### initinit() {#init}

### ExtendedCodetext {#extendedcodetext}

**Access:** Read-only

**Returns:** string Codetext in Extended mode

Returns codetext from Extended mode codetext builder

