Skip to main content
A newer version of this page is available. .

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.1.dll

NuGet Packages: DevExpress.Reporting.Core, DevExpress.WindowsDesktop.Core

Declaration

[DefaultValue(false)]
[SRCategory(ReportStringId.CatBehavior)]
public bool AutoModule { get; set; }

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the AutoModule property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also