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
graphics_unit Gets or sets a graphics unit used to measure BarcodeSettings.base_x_dimension and BarcodeSettings.base_y_dimension.
The default value is GraphicsUnit.MILLIMETER.
base_x_dimension Gets or sets a base x-dimension, that is, the smallest width of the unit of barcode bars and spaces.
Measured in BarcodeSettings.graphics_unit.
base_y_dimension Gets or sets a base y-dimension, that is, the smallest height of the unit of 2D barcode modules.
Measured in BarcodeSettings.graphics_unit.
resolution Gets or sets the horizontal and vertical resolution of a barcode image being generated. Measured in dots
per inch. The default value is 96.
x_resolution Gets or sets the horizontal resolution of a barcode image being generated. Measured in dots per inch.
The default value is 96.
y_resolution Gets or sets the vertical resolution of a barcode image being generated. Measured in dots per inch.
The default value is 96.
use_auto_correction Gets or sets a value indicating 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.

See Also