# BarcodeExportOptions (@salmonui/charts/barcode)

> The BarcodeExportOptions interface of @salmonui/charts/barcode.

Canonical: https://salmonui.dev/docs/reference/charts/barcode/BarcodeExportOptions

```ts
import type { BarcodeExportOptions } from '@salmonui/charts/barcode';
```

Also exported from `@salmonui/charts/barcode/pdf417`, `@salmonui/charts/barcode/gs1-databar`, `@salmonui/charts/barcode/dotcode`.

Entry index: https://salmonui.dev/docs/reference/charts/barcode (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/charts/barcode.md).

## Reference

Kind: interface

```ts
interface BarcodeExportOptions {
    readonly format?: BarcodeImageFormat | undefined;
    readonly fileName?: string | undefined;
    readonly scale?: number | undefined;
}
```

Members (3):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `format` | `readonly format?: BarcodeImageFormat \| undefined;` | optional |  |
| `fileName` | `readonly fileName?: string \| undefined;` | optional | Default `barcode.<format>`. |
| `scale` | `readonly scale?: number \| undefined;` | optional | Raster scale on top of the device pixel ratio. Default 1. |
