Skip to main content

BarCodeControl.Module Property

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

Namespace: DevExpress.WinUI.Controls

Assembly: DevExpress.WinUI.BarCode.v23.2.dll

NuGet Package: DevExpress.WinUI

Declaration

[DP(2, Handler = "BarCodeInvalidateVisual")]
public double Module { get; set; }

Property Value

Type Description
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.

Set the BarCodeEdit.AutoModule property to true whether the Module property value should be calculated automatically based upon the bar code’s size.

See Also