# Pdf417Props (@salmonui/charts/barcode/pdf417)

> The Pdf417Props interface of @salmonui/charts/barcode/pdf417.

Canonical: https://salmonui.dev/docs/reference/charts/barcode-pdf417/Pdf417Props

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

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

## Reference

Kind: interface

```ts
interface Pdf417Props extends SymbolBaseProps {
    readonly value: string;
    readonly compaction?: Pdf417Compaction | undefined;
    readonly errorCorrection?: Pdf417ErrorCorrection | undefined;
    readonly columns?: number | undefined;
    readonly rows?: number | undefined;
    readonly compact?: boolean | undefined;
    readonly rowHeightRatio?: number | undefined;
    readonly height?: number | undefined;
}
```

Members (20):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `text` | `text?: string \| boolean;` | optional, inherited | Human-readable text under the symbol: `true` shows the value, a string replaces it, `false` hides it. |
| `moduleSize` | `moduleSize?: number;` | optional, inherited | Module (narrow bar or dot) size in px. |
| `width` | `width?: number;` | optional, inherited | Total width in px (overrides `moduleSize`). |
| `quietZone` | `quietZone?: boolean;` | optional, inherited | Keep the quiet zone (default true). |
| `color` | `color?: string;` | optional, inherited | Bar color: a data color, default `#000000` (scanners need dark on light in every color scheme). |
| `value` | `readonly value: string;` |  | ISO 8859-1 text. |
| `compaction` | `readonly compaction?: Pdf417Compaction \| undefined;` | optional | Compaction mode (default `'auto'`). |
| `errorCorrection` | `readonly errorCorrection?: Pdf417ErrorCorrection \| undefined;` | optional | Error correction level 0 to 8 (default `'auto'`: the ISO recommended minimum for the data length). |
| `columns` | `readonly columns?: number \| undefined;` | optional | Data columns, 1 to 30 (default automatic, about 2:1 width to height). |
| `rows` | `readonly rows?: number \| undefined;` | optional | Rows, 3 to 90 (default automatic). |
| `compact` | `readonly compact?: boolean \| undefined;` | optional | Compact PDF417 (no right row indicator, one-module stop bar). |
| `rowHeightRatio` | `readonly rowHeightRatio?: number \| undefined;` | optional | Row height in modules (default 3). |
| `height` | `readonly height?: number \| undefined;` | optional | Total height in px: scales the rows. |
| `background` | `background?: string;` | optional, inherited | Background color: a data color, default `#ffffff`. |
| `label` | `label?: string;` | optional, inherited | Accessible name; default the encoded value. |
| `invalidLabel` | `invalidLabel?: string;` | optional, inherited | Accessible name when the value cannot be encoded (`{reason}` is replaced). Default `Invalid barcode: {reason}`. |
| `onInvalid` | `onInvalid?: ((event: BarcodeInvalidEvent) => void);` | optional, inherited |  |
| `ref` | `ref?: Ref<BarcodeApi>;` | optional, inherited |  |
| `className` | `className?: string;` | optional, inherited |  |
| `style` | `style?: CSSProperties;` | optional, inherited |  |
