XRBarCode.AutoModule Property

Gets or sets whether the Module property value should be calculated automatically based upon the barcode's size.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v19.2.dll

Declaration

[DefaultValue(false)]
[SRCategory(ReportStringId.CatBehavior)]
public bool AutoModule { get; set; }
<DefaultValue(False)>
<SRCategory(ReportStringId.CatBehavior)>
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 XRBarCode.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 XRBarCode.Symbology, a bar code output may become unreadable by an appropriate bar code scanner.

See Also