Back to Devexpress

BarCodeControl.AutoModule Property

windowsforms-devexpress-dot-xtraeditors-dot-barcodecontrol.md

latest2.0 KB
Original Source

BarCodeControl.AutoModule Property

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

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(false)]
[DXCategory("Behavior")]
public bool AutoModule { get; set; }
vb
<DefaultValue(False)>
<DXCategory("Behavior")>
Public Property AutoModule As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

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

|

Remarks

Use the AutoModule property to better control the BarCodeControl.Module property value when resizing a bar code.

When 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 BarCodeControl.Symbology, a bar code output may become unreadable by an appropriate bar code scanner. To learn more, see Bar Code Recognition Specifics.

See Also

BarCodeControl Class

BarCodeControl Members

DevExpress.XtraEditors Namespace