
## HanXinExtCodetextBuilder class

**Module:** `aspose_barcode.generation.han_xin_ext_codetext_builder`


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


## Constructors

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

## Methods

| Name | Return Type | Static | Description |
| --- | --- | --- | --- |
| [add_auto](#add_auto) | `None` | No | Adds codetext fragment in Auto mode. |
| [add_binary](#add_binary) | `None` | No | Adds codetext fragment in Binary mode. |
| [add_common_chinese_region_one](#add_common_chinese_region_one) | `None` | No | Adds codetext fragment in Common Chinese Region One mode. |
| [add_common_chinese_region_two](#add_common_chinese_region_two) | `None` | No | Adds codetext fragment in Common Chinese Region Two mode. |
| [add_eci](#add_eci) | `None` | No | Adds codetext fragment in ECI mode. Args: text (str): Codetext string. encoding (int): ECI encoding in integer format. |
| [add_gb18030_four_byte](#add_gb18030_four_byte) | `None` | No | Adds codetext fragment in GB18030 Four Byte mode. |
| [add_gb18030_two_byte](#add_gb18030_two_byte) | `None` | No | Adds codetext fragment in GB18030 Two Byte mode. |
| [add_gs1](#add_gs1) | `None` | No | Adds codetext fragment in GS1 mode. |
| [add_numeric](#add_numeric) | `None` | No | Adds codetext fragment in Numeric mode. |
| [add_text](#add_text) | `None` | No | Adds codetext fragment in Text mode. |
| [add_unicode](#add_unicode) | `None` | No | Adds codetext fragment in Unicode mode. |
| [add_uri](#add_uri) | `None` | No | Adds codetext fragment in URI mode. |
| [extended_codetext](#extended_codetext) | `Optional[str]` | No | Returns codetext from Extended mode codetext builder. Returns: Optional[str]: Codetext in Extended mode. |

### HanXinExtCodetextBuilder Constructor {#constructor}

```python
__init__(self)
```

### HanXinExtCodetextBuilder.add_auto {#add_auto}

```python
add_auto(self, str text)
```

Adds codetext fragment in Auto mode.

| Parameter | Type | Description |
| --- | --- | --- |
| `text` | `str` |  |

### HanXinExtCodetextBuilder.add_binary {#add_binary}

```python
add_binary(self, str text)
```

Adds codetext fragment in Binary mode.

| Parameter | Type | Description |
| --- | --- | --- |
| `text` | `str` |  |

### HanXinExtCodetextBuilder.add_common_chinese_region_one {#add_common_chinese_region_one}

```python
add_common_chinese_region_one(self, str text)
```

Adds codetext fragment in Common Chinese Region One mode.

| Parameter | Type | Description |
| --- | --- | --- |
| `text` | `str` |  |

### HanXinExtCodetextBuilder.add_common_chinese_region_two {#add_common_chinese_region_two}

```python
add_common_chinese_region_two(self, str text)
```

Adds codetext fragment in Common Chinese Region Two mode.

| Parameter | Type | Description |
| --- | --- | --- |
| `text` | `str` |  |

### HanXinExtCodetextBuilder.add_eci {#add_eci}

```python
add_eci(self, str text, int encoding)
```

Adds codetext fragment in ECI mode. Args: text (str): Codetext string. encoding (int): ECI encoding in integer format.

| Parameter | Type | Description |
| --- | --- | --- |
| `text` | `str` |  |
| `encoding` | `int` |  |

### HanXinExtCodetextBuilder.add_gb18030_four_byte {#add_gb18030_four_byte}

```python
add_gb18030_four_byte(self, str text)
```

Adds codetext fragment in GB18030 Four Byte mode.

| Parameter | Type | Description |
| --- | --- | --- |
| `text` | `str` |  |

### HanXinExtCodetextBuilder.add_gb18030_two_byte {#add_gb18030_two_byte}

```python
add_gb18030_two_byte(self, str text)
```

Adds codetext fragment in GB18030 Two Byte mode.

| Parameter | Type | Description |
| --- | --- | --- |
| `text` | `str` |  |

### HanXinExtCodetextBuilder.add_gs1 {#add_gs1}

```python
add_gs1(self, str text)
```

Adds codetext fragment in GS1 mode.

| Parameter | Type | Description |
| --- | --- | --- |
| `text` | `str` |  |

### HanXinExtCodetextBuilder.add_numeric {#add_numeric}

```python
add_numeric(self, str text)
```

Adds codetext fragment in Numeric mode.

| Parameter | Type | Description |
| --- | --- | --- |
| `text` | `str` |  |

### HanXinExtCodetextBuilder.add_text {#add_text}

```python
add_text(self, str text)
```

Adds codetext fragment in Text mode.

| Parameter | Type | Description |
| --- | --- | --- |
| `text` | `str` |  |

### HanXinExtCodetextBuilder.add_unicode {#add_unicode}

```python
add_unicode(self, str text)
```

Adds codetext fragment in Unicode mode.

| Parameter | Type | Description |
| --- | --- | --- |
| `text` | `str` |  |

### HanXinExtCodetextBuilder.add_uri {#add_uri}

```python
add_uri(self, str text)
```

Adds codetext fragment in URI mode.

| Parameter | Type | Description |
| --- | --- | --- |
| `text` | `str` |  |

### HanXinExtCodetextBuilder.extended_codetext {#extended_codetext}

```python
extended_codetext(self) -> Optional[str]
```

Returns codetext from Extended mode codetext builder. Returns: Optional[str]: Codetext in Extended mode.

**Return Type:** `Optional[str]`

