View as Markdown

API reference: @salmonui/charts/barcode

BarcodeExportOptionsinterface

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

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

interface BarcodeExportOptions {
    readonly format?: BarcodeImageFormat | undefined;
    readonly fileName?: string | undefined;
    readonly scale?: number | undefined;
}
BarcodeExportOptions members (3)
NameSignatureDescription
formatoptionalreadonly format?: BarcodeImageFormat | undefined;
fileNameoptionalreadonly fileName?: string | undefined;

Default barcode.<format>.

scaleoptionalreadonly scale?: number | undefined;

Raster scale on top of the device pixel ratio. Default 1.