A newer version of this page is available. Switch to the current version.

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.v18.2.Core.dll

Declaration

[XtraSerializableProperty]
[DefaultValue(false)]
public bool AutoModule { get; set; }
<XtraSerializableProperty>
<DefaultValue(False)>
Public Property AutoModule As Boolean

Property Value

Type Default Description
Boolean

false

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

Remarks

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.

Implements

See Also