BarcodeSettings class

BarcodeSettings class

Represents a set of settings controlling barcode generation while assembling a document.

The BarcodeSettings type exposes the following members:

Properties

Property Description
base_x_dimension The base x-dimension, the smallest width of the unit of barcode bars and spaces, measured in BarcodeSettings.graphics_unit.
base_y_dimension The base y-dimension, the smallest height of the unit of 2D barcode modules. Measured in BarcodeSettings.graphics_unit.
graphics_unit The graphics unit used to measure BarcodeSettings.BaseXDimension and BarcodeSettings.BaseYDimension. The default value is GraphicsUnit.MILLIMETER.
resolution The horizontal and vertical resolution of a barcode image being generated, measured in dots per inch. The default value is 96.
use_auto_correction The property indicates whether an invalid barcode value should be corrected automatically (if possible) to fit the barcode’s specification, or an exception should be thrown to indicate the error. The default value is True.
xresolution The horizontal resolution of a generated barcode image, measured in dots per inch.
yresolution The vertical resolution of a barcode image being generated, measured in dots per inch. The default value is 96.

See Also