
## DataMatrixExtCodetextBuilder class

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


Extended codetext generator for 2D DataMatrix barcodes for ExtendedCodetext Mode of DataMatrixEncodeMode


## Constructors

| Name | Description |
| --- | --- |
| [__construct](#constructor) | Reimplemented from Aspose\Barcode\Generation\ExtCodetextBuilder. |

## Methods

| Name | Static | Description |
| --- | --- | --- |
| [addCodetextWithEncodeMode](#addcodetextwithencodemode) | No | Adds codetext with defined encode mode to the extended codetext items |
| [addECICodetextWithEncodeMode](#addecicodetextwithencodemode) | No | Adds codetext with Extended Channel Identifier with defined encode mode |
| [init](#init) | No | Reimplemented from Aspose\Barcode\Generation\ExtCodetextBuilder. |

## Properties

| Name | Read/Write | Description |
| --- | --- | --- |
| [ExtCodetextBuilderType](#extcodetextbuildertype) | Read-only | Reimplemented from Aspose\Barcode\Generation\ExtCodetextBuilder. |

### DataMatrixExtCodetextBuilder__construct() {#constructor}

Reimplemented from Aspose\Barcode\Generation\ExtCodetextBuilder.

### addCodetextWithEncodeModeaddCodetextWithEncodeMode(int $encodeMode, string $codetext) {#addcodetextwithencodemode}

Adds codetext with defined encode mode to the extended codetext items

| Parameter | Type | Description |
| --- | --- | --- |
| `$encodeMode` | `int` | Encode mode value |
| `$codetext` | `string` | Codetext in unicode to add as extended codetext item |

### addECICodetextWithEncodeModeaddECICodetextWithEncodeMode(int $ECIEncoding, int $encodeMode, string $codetext) {#addecicodetextwithencodemode}

Adds codetext with Extended Channel Identifier with defined encode mode

| Parameter | Type | Description |
| --- | --- | --- |
| `$ECIEncoding` | `int` | Extended Channel Identifier |
| `$encodeMode` | `int` | Encode mode value |
| `$codetext` | `string` | Codetext in unicode to add as extended codetext item with Extended Channel Identifier with defined encode mode |

### initinit() {#init}

Reimplemented from Aspose\Barcode\Generation\ExtCodetextBuilder.

### ExtCodetextBuilderType {#extcodetextbuildertype}

**Access:** Read-only

Reimplemented from Aspose\Barcode\Generation\ExtCodetextBuilder.

