
## PatchCodeParameters class

PatchCode parameters.

```js
new PatchCodeParameters()
```

## Methods

| Name | Description |
| --- | --- |
| [getExtraBarcodeText()](#getextrabarcodetext) | Specifies codetext for an extra QR barcode, when PatchCode is generated in page mode. |
| [getFormat()](#getformat) | PatchCode format. Choose PatchOnly to generate single PatchCode. Use page format to generate Patch page with PatchCodes  |
| [getPatchFormat()](#getpatchformat) ~~(deprecated)~~ | PatchCode format. Choose PatchOnly to generate single PatchCode. Use page format to generate Patch page with PatchCodes  |
| [setExtraBarcodeText()](#setextrabarcodetext) | Specifies codetext for an extra QR barcode, when PatchCode is generated in page mode. |
| [setFormat()](#setformat) | PatchCode format. Choose PatchOnly to generate single PatchCode. Use page format to generate Patch page with PatchCodes  |
| [setPatchFormat()](#setpatchformat) ~~(deprecated)~~ | PatchCode format. Choose PatchOnly to generate single PatchCode. Use page format to generate Patch page with PatchCodes  |
| [toString()](#tostring) | Returns a human-readable string representation of this {PatchCodeParameters} |

### getExtraBarcodeText() {#getextrabarcodetext}

Specifies codetext for an extra QR barcode, when PatchCode is generated in page mode.

### getFormat() {#getformat}

PatchCode format. Choose PatchOnly to generate single PatchCode. Use page format to generate Patch page with PatchCodes as borders. Default value: PatchFormat.PatchOnly

### getPatchFormat() {#getpatchformat}

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

PatchCode format. Choose PatchOnly to generate single PatchCode. Use page format to generate Patch page with PatchCodes as borders. Default value: PatchFormat.PATCH_ONLY

**Returns:** PatchFormat

### setExtraBarcodeText() {#setextrabarcodetext}

Specifies codetext for an extra QR barcode, when PatchCode is generated in page mode.

### setFormat() {#setformat}

PatchCode format. Choose PatchOnly to generate single PatchCode. Use page format to generate Patch page with PatchCodes as borders. Default value: PatchFormat.PatchOnly

### setPatchFormat() {#setpatchformat}

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

PatchCode format. Choose PatchOnly to generate single PatchCode. Use page format to generate Patch page with PatchCodes as borders. Default value: PatchFormat.PATCH_ONLY

### toString() {#tostring}

Returns a human-readable string representation of this {PatchCodeParameters}

**Returns:** string value that represents PatchCodeParameters
