Back to Devexpress

XRBarCode.Module Property

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-xrbarcode-9b782aba.md

latest2.3 KB
Original Source

XRBarCode.Module Property

Gets or sets the width of the narrowest bar or space in the current XRBarCode instance (measured in report units).

Namespace : DevExpress.XtraReports.UI

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
[DefaultValue(2F)]
[SRCategory(ReportStringId.CatBehavior)]
public float Module { get; set; }
vb
<DefaultValue(2F)>
<SRCategory(ReportStringId.CatBehavior)>
Public Property [Module] As Single

Property Value

TypeDefaultDescription
Single2

The width of the narrowest bar or space (measured in report units).

|

Remarks

The Module property cannot be set to a value less than or equal to 0. Note that if the Module property is set to a very small value, so that 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.

Note

To better control the Module property value when resizing a bar code, set the XRBarCode.AutoModule property to true.

See Also

AutoModule

Report Units of Measurement

XRBarCode Class

XRBarCode Members

DevExpress.XtraReports.UI Namespace