BarcodeSettings

BarcodeSettings class

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

public class BarcodeSettings

Properties

Name Description
BaseXDimension { get; set; } Gets or sets a base x-dimension, that is, the smallest width of the unit of barcode bars and spaces. Measured in GraphicsUnit.
BaseYDimension { get; set; } Gets or sets a base y-dimension, that is, the smallest height of the unit of 2D barcode modules. Measured in GraphicsUnit.
GraphicsUnit { get; set; } Gets or sets a graphics unit used to measure BaseXDimension and BaseYDimension. The default value is Millimeter.
Resolution { get; set; } Gets or sets the horizontal and vertical resolution of a barcode image being generated. Measured in dots per inch. The default value is 96.
UseAutoCorrection { get; set; } 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