API reference: @salmonui/charts/barcode/pdf417
Pdf417component
import { Pdf417 } from '@salmonui/charts/barcode/pdf417';function Pdf417(props: Pdf417Props): ReactNode;
Props: Pdf417Props
| Name | Signature | Description |
|---|---|---|
textoptionalinherited | text?: string | boolean; | Human-readable text under the symbol: |
moduleSizeoptionalinherited | moduleSize?: number; | Module (narrow bar or dot) size in px. |
widthoptionalinherited | width?: number; | Total width in px (overrides |
quietZoneoptionalinherited | quietZone?: boolean; | Keep the quiet zone (default true). |
coloroptionalinherited | color?: string; | Bar color: a data color, default |
value | readonly value: string; | ISO 8859-1 text. |
compactionoptional | readonly compaction?: Pdf417Compaction | undefined; | Compaction mode (default |
errorCorrectionoptional | readonly errorCorrection?: Pdf417ErrorCorrection | undefined; | Error correction level 0 to 8 (default |
columnsoptional | readonly columns?: number | undefined; | Data columns, 1 to 30 (default automatic, about 2:1 width to height). |
rowsoptional | readonly rows?: number | undefined; | Rows, 3 to 90 (default automatic). |
compactoptional | readonly compact?: boolean | undefined; | Compact PDF417 (no right row indicator, one-module stop bar). |
rowHeightRatiooptional | readonly rowHeightRatio?: number | undefined; | Row height in modules (default 3). |
heightoptional | readonly height?: number | undefined; | Total height in px: scales the rows. |
backgroundoptionalinherited | background?: string; | Background color: a data color, default |
labeloptionalinherited | label?: string; | Accessible name; default the encoded value. |
invalidLabeloptionalinherited | invalidLabel?: string; | Accessible name when the value cannot be encoded ( |
onInvalidoptionalinherited | onInvalid?: ((event: BarcodeInvalidEvent) => void); | |
refoptionalinherited | ref?: Ref<BarcodeApi>; | |
classNameoptionalinherited | className?: string; | |
styleoptionalinherited | style?: CSSProperties; |