
## DataBarParameters class

**Module:** `aspose_barcode.generation.databar_parameters`


Databar parameters.


## Constructors

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

## Methods

| Name | Return Type | Static | Description |
| --- | --- | --- | --- |
| [__str__](#__str__) | `str` | No |  |

## Properties

| Name | Type | Description |
| --- | --- | --- |
| [allow_only_gs1_encoding](#allow_only_gs1_encoding) | `bool` | If this flag is set, it allows only GS1 encoding standard for Databar barcode types. |
| [aspect_ratio](#aspect_ratio) | `float` | Height/Width ratio of 2D BarCode module. Used for DataBar stacked. |
| [columns](#columns) | `int` | Columns count. |
| [is_2d_composite_component](#is_2d_composite_component) | `bool` | Enables flag of 2D composite component with DataBar barcode. |
| [rows](#rows) | `int` | Rows count. |

### DataBarParameters Constructor {#constructor}

```python
__init__(self, _java_class)
```

| Parameter | Type | Description |
| --- | --- | --- |
| `_java_class` | `` |  |

### DataBarParameters.__str__ {#__str__}

```python
__str__(self) -> str
```

**Return Type:** `str`

### DataBarParameters.allow_only_gs1_encoding {#allow_only_gs1_encoding}

**Type:** `bool`

If this flag is set, it allows only GS1 encoding standard for Databar barcode types.

If this flag is set, it allows only GS1 encoding standard for Databar barcode types.

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

### DataBarParameters.aspect_ratio {#aspect_ratio}

**Type:** `float`

Height/Width ratio of 2D BarCode module. Used for DataBar stacked.

Height/Width ratio of 2D BarCode module. Used for DataBar stacked.

| Parameter | Type | Description |
| --- | --- | --- |
| `value` | `float` |  |

### DataBarParameters.columns {#columns}

**Type:** `int`

Columns count.

Columns count.

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

### DataBarParameters.is_2d_composite_component {#is_2d_composite_component}

**Type:** `bool`

Enables flag of 2D composite component with DataBar barcode.

Enables flag of 2D composite component with DataBar barcode.

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

### DataBarParameters.rows {#rows}

**Type:** `int`

Rows count.

Rows count.

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

