Back to Devexpress

BarCodeEdit.Module Property

wpf-devexpress-dot-xpf-dot-editors-dot-barcodeedit-d03503dc.md

latest1.7 KB
Original Source

BarCodeEdit.Module Property

Gets or sets the width of the narrowest bar or space, in pixels. This is a dependency property.

Namespace : DevExpress.Xpf.Editors

Assembly : DevExpress.Xpf.Core.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public double Module { get; set; }
vb
Public Property [Module] As Double

Property Value

TypeDescription
Double

The width of the narrowest bar or space, in pixels.

|

Remarks

The Module property cannot be set to a value less than or equal to 0. 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 current BarCodeEdit.StyleSettings, a bar code output may become unreadable by the appropriate bar code scanner.

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

See Also

AutoModule

BarCodeEdit Class

BarCodeEdit Members

DevExpress.Xpf.Editors Namespace