
## DataBarParameters class

Databar parameters.

```js
new DataBarParameters()
```

## Methods

| Name | Description |
| --- | --- |
| [getAspectRatio()](#getaspectratio) | Height/Width ratio of 2D BarCode module. Used for DataBar stacked. |
| [getColumns()](#getcolumns) | Columns count. |
| [getRows()](#getrows) | Rows count. |
| [is2DCompositeComponent()](#is2dcompositecomponent) | Enables flag of 2D composite component with DataBar barcode |
| [isAllowOnlyGS1Encoding()](#isallowonlygs1encoding) | If this flag is set, it allows only GS1 encoding standard for Databar barcode types |
| [set2DCompositeComponent()](#set2dcompositecomponent) | Enables flag of 2D composite component with DataBar barcode |
| [setAllowOnlyGS1Encoding()](#setallowonlygs1encoding) | If this flag is set, it allows only GS1 encoding standard for Databar barcode types |
| [setAspectRatio()](#setaspectratio) | Height/Width ratio of 2D BarCode module. Used for DataBar stacked. |
| [setColumns()](#setcolumns) | Columns count. |
| [setRows()](#setrows) | Rows count. |
| [toString()](#tostring) | Returns a human-readable string representation of this DataBarParameters. |

### getAspectRatio() {#getaspectratio}

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

### getColumns() {#getcolumns}

Columns count.

### getRows() {#getrows}

Rows count.

### is2DCompositeComponent() {#is2dcompositecomponent}

Enables flag of 2D composite component with DataBar barcode

### isAllowOnlyGS1Encoding() {#isallowonlygs1encoding}

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

### set2DCompositeComponent() {#set2dcompositecomponent}

Enables flag of 2D composite component with DataBar barcode

### setAllowOnlyGS1Encoding() {#setallowonlygs1encoding}

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

### setAspectRatio() {#setaspectratio}

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

### setColumns() {#setcolumns}

Columns count.

### setRows() {#setrows}

Rows count.

### toString() {#tostring}

Returns a human-readable string representation of this DataBarParameters.

**Returns:** A string that represents this DataBarParameters.
