Pdfviewer - BarcodeFieldSettingsModel
18 Nov 20261 minute to read
Interface for a class BarcodeFieldSettings
Properties
bounds IFormFieldBound
Defines the bounds of the barcode form field.
Specifies the X and Y coordinates along with width and height.
caption string
Gets or sets the caption displayed with the barcode.
compressData boolean
Gets or sets whether generated data
should be compressed before encoding.
customData object
Gets or sets the custom data associated with the form field.
customValue string
Gets or sets the custom barcode value. This value is encoded directly into the barcode when valueFormat is set to CustomValue.
errorCorrectionLevel Pdf417ErrorCorrectionLevel|QRErrorCorrectionLevel
Gets or sets the barcode error correction level.
PDF417:
- Level0 to Level8
QRCode:
- Low
- Medium
- Quartile
- High
DataMatrix does not use this setting.
fields string[]
Gets or sets the source field names used
to generate barcode content.
includeFieldNames boolean
Gets or sets whether field names are included
in the generated barcode content.
name string
Defines the unique name of the barcode form field.
pageNumber number
Defines the page number on which the barcode form field is rendered.
symbology BarcodeSymbology
Gets or sets the barcode symbology.
Supported values:
- PDF417
- QRCode
- DataMatrix
tooltip string
Defines the tooltip text displayed when hovering over the barcode form field.
valueFormat BarcodeValueFormat
Specifies the format used to generate barcode content.
xDimension number
Gets or sets the barcode module width.