
## Code128EncodeMode enum

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


Encoding mode for Code128 barcodes. specification.


## Enum Values

| Name | Value | Description |
| --- | --- | --- |
| [AUTO](#auto) | `0` | Encode codetext in classic ISO 15417 mode. The mode should be used in all ordinary cases. |
| [CODE_A](#code_a) | `1` | Encode codetext only in 128A codeset. |
| [CODE_AB](#code_ab) | `3` | Encode codetext only in 128A and 128B codesets. |
| [CODE_AC](#code_ac) | `5` | Encode codetext only in 128A and 128C codesets. |
| [CODE_B](#code_b) | `2` | Encode codetext only in 128B codeset. |
| [CODE_BC](#code_bc) | `6` | Encode codetext only in 128B and 128C codesets. |
| [CODE_C](#code_c) | `4` | Encode codetext only in 128C codeset. |
### AUTO {#auto}

**Value:** `0`

Encode codetext in classic ISO 15417 mode. The mode should be used in all ordinary cases.

### CODE_A {#code_a}

**Value:** `1`

Encode codetext only in 128A codeset.

### CODE_AB {#code_ab}

**Value:** `3`

Encode codetext only in 128A and 128B codesets.

### CODE_AC {#code_ac}

**Value:** `5`

Encode codetext only in 128A and 128C codesets.

### CODE_B {#code_b}

**Value:** `2`

Encode codetext only in 128B codeset.

### CODE_BC {#code_bc}

**Value:** `6`

Encode codetext only in 128B and 128C codesets.

### CODE_C {#code_c}

**Value:** `4`

Encode codetext only in 128C codeset.

