Skip to main content

BarCodeBrick.AutoModule Property

Gets or sets a value that specifies whether the BarCodeBrick.Module property value should be calculated automatically based upon the bar code’s size.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v22.2.Core.dll

NuGet Packages: DevExpress.Printing.Core, DevExpress.Win.Dashboard.Design


public bool AutoModule { get; set; }

Property Value

Type Default Description
Boolean false

true if the barcode’s module is calculated automatically; otherwise, false.


Use the AutoModule property to better control the BarCodeBrick.Module property value when resizing a bar code. Note that if the AutoModule property is set to true, and the width of a bar code is too small to correctly display all its bars according to the currently selected BarCodeBrick.Generator, a bar code output may become unreadable by an appropriate bar code scanner.


See Also