
## GS1CompositeBarParameters class

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


GS1 Composite bar parameters.


## Constructors

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

## Methods

| Name | Static | Description |
| --- | --- | --- |
| [isAllowOnlyGS1Encoding](#isallowonlygs1encoding) | No | If this flag is set, it allows only GS1 encoding standard for GS1CompositeBar 2D Component |
| [setAllowOnlyGS1Encoding](#setallowonlygs1encoding) | No | If this flag is set, it allows only GS1 encoding standard for GS1CompositeBar 2D Component |

## Properties

| Name | Read/Write | Description |
| --- | --- | --- |
| [LinearComponentType](#linearcomponenttype) | Read/Write | Linear component type: GS1Code128, UPCE, EAN8, UPCA, EAN13, DatabarStacked, DatabarStackedOmniDirectional, DatabarLimited, DatabarOmniDirectional, DatabarExpanded, DatabarExpandedStacked |
| [TwoDComponentType](#twodcomponenttype) | Read/Write | 2D component type |

### GS1CompositeBarParameters__construct(GS1CompositeBarParametersDTO $gs1CompositeBarParametersDto) {#constructor}

| Parameter | Type | Description |
| --- | --- | --- |
| `$gs1CompositeBarParametersDto` | `GS1CompositeBarParametersDTO` |  |

### isAllowOnlyGS1EncodingisAllowOnlyGS1Encoding() {#isallowonlygs1encoding}

If this flag is set, it allows only GS1 encoding standard for GS1CompositeBar 2D Component

### setAllowOnlyGS1EncodingsetAllowOnlyGS1Encoding(bool $value) {#setallowonlygs1encoding}

If this flag is set, it allows only GS1 encoding standard for GS1CompositeBar 2D Component

| Parameter | Type | Description |
| --- | --- | --- |
| `$value` | `bool` |  |

### LinearComponentType {#linearcomponenttype}

**Access:** Read/Write

Linear component type: GS1Code128, UPCE, EAN8, UPCA, EAN13, DatabarStacked, DatabarStackedOmniDirectional, DatabarLimited, DatabarOmniDirectional, DatabarExpanded, DatabarExpandedStacked

Linear component type: GS1Code128, UPCE, EAN8, UPCA, EAN13, DatabarStacked, DatabarStackedOmniDirectional, DatabarLimited, DatabarOmniDirectional, DatabarExpanded, DatabarExpandedStacked

| Parameter | Type | Description |
| --- | --- | --- |
| `$value` | `int` |  |

### TwoDComponentType {#twodcomponenttype}

**Access:** Read/Write

2D component type

2D component type

| Parameter | Type | Description |
| --- | --- | --- |
| `$value` | `int` |  |

