BarcodeParameters class

BarcodeParameters class

Container class for barcode parameters to pass-through to BarcodeGenerator. To learn more, visit the Working with Fields documentation article.

Remarks

The set of parameters are according to DISPLAYBARCODE field options. See the exact list at https://msdn.microsoft.com/en-us/library/hh745901(v=office.12).aspx

Constructors

NameDescription
BarcodeParameters()The default constructor.

Properties

NameDescription
addStartStopCharWhether to add Start/Stop characters for barcode types NW7 and CODE39.
backgroundColorBar code background color (0x000000 - 0xFFFFFF)
barcodeTypeBar code type.
barcodeValueData to be encoded.
caseCodeStyleStyle of a Case Code for barcode type ITF14. The valid values are [STD
displayTextWhether to display barcode data (text) along with image.
errorCorrectionLevelError correction level of QR Code. Valid values are [0, 3].
facingIdentificationMarkType of a Facing Identification Mark (FIM).
fixCheckDigitWhether to fix the check digit if it’s invalid.
foregroundColorBar code foreground color (0x000000 - 0xFFFFFF)
isBookmarkWhether BarcodeParameters.postalAddress is the name of a bookmark.
isUSPostalAddressWhether BarcodeParameters.postalAddress is a U.S. postal address.
posCodeStyleStyle of a Point of Sale barcode (barcode types UPCA
postalAddressBarcode postal address.
scalingFactorScaling factor for the symbol. The value is in whole percentage points and the valid values are [10, 1000].
symbolHeightBar code image height (in twips - 1/1440 inches)
symbolRotationRotation of the barcode symbol. Valid values are [0, 3].

See Also