
## DotCodeParameters class

DotCode parameters.

```js
new DotCodeParameters()
```

## Methods

| Name | Description |
| --- | --- |
| [getAspectRatio()](#getaspectratio) | Height/Width ratio of 2D BarCode module. |
| [getColumns()](#getcolumns) | Identifies columns count. Sum of the number of rows plus the number of columns of a DotCode symbol must be odd. Number o |
| [getDotCodeEncodeMode()](#getdotcodeencodemode) ~~(deprecated)~~ | Identifies DotCode encode mode. Default value: Auto. |
| [getDotCodeStructuredAppendModeBarcodeId()](#getdotcodestructuredappendmodebarcodeid) ~~(deprecated)~~ | Identifies the ID of the DotCode structured append mode barcode. ID starts from 1 and must be less or equal to barcodes  |
| [getDotCodeStructuredAppendModeBarcodesCount()](#getdotcodestructuredappendmodebarcodescount) ~~(deprecated)~~ | Identifies DotCode structured append mode barcodes count. Default value is -1. Count must be a value from 1 to 35. |
| [getECIEncoding()](#geteciencoding) | Identifies ECI encoding. Used when DotCodeEncodeMode is AUTO. Default value: ISO-8859-1 |
| [getEncodeMode()](#getencodemode) | Identifies DotCode encode mode. Default value: Auto. |
| [getRows()](#getrows) | Identifies rows count. Sum of the number of rows plus the number of columns of a DotCode symbol must be odd. Number of r |
| [getStructuredAppendModeBarcodeId()](#getstructuredappendmodebarcodeid) | Identifies the ID of the DotCode structured append mode barcode. ID starts from 1 and must be less or equal to barcodes  |
| [getStructuredAppendModeBarcodesCount()](#getstructuredappendmodebarcodescount) | Identifies DotCode structured append mode barcodes count. Default value is -1. Count must be a value from 1 to 35. |
| [isReaderInitialization()](#isreaderinitialization) | Indicates whether code is used for instruct reader to interpret the following data as instructions for initialization or |
| [setAspectRatio()](#setaspectratio) | Height/Width ratio of 2D BarCode module. |
| [setColumns()](#setcolumns) | Identifies columns count. Sum of the number of rows plus the number of columns of a DotCode symbol must be odd. Number o |
| [setDotCodeEncodeMode()](#setdotcodeencodemode) ~~(deprecated)~~ | Identifies DotCode encode mode. Default value: Auto. |
| [setDotCodeStructuredAppendModeBarcodeId()](#setdotcodestructuredappendmodebarcodeid) ~~(deprecated)~~ | Identifies the ID of the DotCode structured append mode barcode. ID starts from 1 and must be less or equal to barcodes  |
| [setDotCodeStructuredAppendModeBarcodesCount()](#setdotcodestructuredappendmodebarcodescount) ~~(deprecated)~~ | Identifies DotCode structured append mode barcodes count. Default value is -1. Count must be a value from 1 to 35. |
| [setECIEncoding()](#seteciencoding) | Identifies ECI encoding. Used when DotCodeEncodeMode is AUTO. Default value: ISO-8859-1 |
| [setEncodeMode()](#setencodemode) | Identifies DotCode encode mode. Default value: Auto. |
| [setReaderInitialization()](#setreaderinitialization) | Indicates whether code is used for instruct reader to interpret the following data as instructions for initialization or |
| [setRows()](#setrows) | Identifies rows count. Sum of the number of rows plus the number of columns of a DotCode symbol must be odd. Number of r |
| [setStructuredAppendModeBarcodeId()](#setstructuredappendmodebarcodeid) | Identifies the ID of the DotCode structured append mode barcode. ID starts from 1 and must be less or equal to barcodes  |
| [setStructuredAppendModeBarcodesCount()](#setstructuredappendmodebarcodescount) | Identifies DotCode structured append mode barcodes count. Default value is -1. Count must be a value from 1 to 35. |
| [toString()](#tostring) | Returns a human-readable string representation of this DotCodeParameters. |

### getAspectRatio() {#getaspectratio}

Height/Width ratio of 2D BarCode module.

### getColumns() {#getcolumns}

Identifies columns count. Sum of the number of rows plus the number of columns of a DotCode symbol must be odd. Number of columns must be at least 5. Default value: -1

### getDotCodeEncodeMode() {#getdotcodeencodemode}

> **Deprecated.** See method description for replacement.

Identifies DotCode encode mode. Default value: Auto.

### getDotCodeStructuredAppendModeBarcodeId() {#getdotcodestructuredappendmodebarcodeid}

> **Deprecated.** See method description for replacement.

Identifies the ID of the DotCode structured append mode barcode. ID starts from 1 and must be less or equal to barcodes count. Default value is -1.

### getDotCodeStructuredAppendModeBarcodesCount() {#getdotcodestructuredappendmodebarcodescount}

> **Deprecated.** See method description for replacement.

Identifies DotCode structured append mode barcodes count. Default value is -1. Count must be a value from 1 to 35.

### getECIEncoding() {#geteciencoding}

Identifies ECI encoding. Used when DotCodeEncodeMode is AUTO. Default value: ISO-8859-1

### getEncodeMode() {#getencodemode}

Identifies DotCode encode mode. Default value: Auto.

### getRows() {#getrows}

Identifies rows count. Sum of the number of rows plus the number of columns of a DotCode symbol must be odd. Number of rows must be at least 5. Default value: -1

### getStructuredAppendModeBarcodeId() {#getstructuredappendmodebarcodeid}

Identifies the ID of the DotCode structured append mode barcode. ID starts from 1 and must be less or equal to barcodes count. Default value is -1.

### getStructuredAppendModeBarcodesCount() {#getstructuredappendmodebarcodescount}

Identifies DotCode structured append mode barcodes count. Default value is -1. Count must be a value from 1 to 35.

### isReaderInitialization() {#isreaderinitialization}

Indicates whether code is used for instruct reader to interpret the following data as instructions for initialization or reprogramming of the bar code reader. Default value is false.

### setAspectRatio() {#setaspectratio}

Height/Width ratio of 2D BarCode module.

### setColumns() {#setcolumns}

Identifies columns count. Sum of the number of rows plus the number of columns of a DotCode symbol must be odd. Number of columns must be at least 5. Default value: -1

### setDotCodeEncodeMode() {#setdotcodeencodemode}

> **Deprecated.** See method description for replacement.

Identifies DotCode encode mode. Default value: Auto.

### setDotCodeStructuredAppendModeBarcodeId() {#setdotcodestructuredappendmodebarcodeid}

> **Deprecated.** See method description for replacement.

Identifies the ID of the DotCode structured append mode barcode. ID starts from 1 and must be less or equal to barcodes count. Default value is -1.

### setDotCodeStructuredAppendModeBarcodesCount() {#setdotcodestructuredappendmodebarcodescount}

> **Deprecated.** See method description for replacement.

Identifies DotCode structured append mode barcodes count. Default value is -1. Count must be a value from 1 to 35.

### setECIEncoding() {#seteciencoding}

Identifies ECI encoding. Used when DotCodeEncodeMode is AUTO. Default value: ISO-8859-1

### setEncodeMode() {#setencodemode}

Identifies DotCode encode mode. Default value: Auto.

### setReaderInitialization() {#setreaderinitialization}

Indicates whether code is used for instruct reader to interpret the following data as instructions for initialization or reprogramming of the bar code reader. Default value is false.

### setRows() {#setrows}

Identifies rows count. Sum of the number of rows plus the number of columns of a DotCode symbol must be odd. Number of rows must be at least 5. Default value: -1

### setStructuredAppendModeBarcodeId() {#setstructuredappendmodebarcodeid}

Identifies the ID of the DotCode structured append mode barcode. ID starts from 1 and must be less or equal to barcodes count. Default value is -1.

### setStructuredAppendModeBarcodesCount() {#setstructuredappendmodebarcodescount}

Identifies DotCode structured append mode barcodes count. Default value is -1. Count must be a value from 1 to 35.

### toString() {#tostring}

Returns a human-readable string representation of this DotCodeParameters.

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