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

SnapBarCode.Module Property

Specifies the width of the narrowest bar or space in the bar code.

Namespace: DevExpress.Snap.Core.API

Assembly: DevExpress.Snap.v19.1.Core.dll

Declaration

int Module { get; set; }

Property Value

Type Description
Int32

An integer value, specifying the width of the narrowest bar or space.

Remarks

The Module property cannot be set to a value less than or equal to 0.

If the Module property is set to a value that is too small to correctly display all its bars, the bar code output may become unreadable by a bar code scanner appropriate to the specified symbology (specified via the SnapBarCode.SetGenerator method).

To automatically control the Module property value when resizing a bar code, enable its SnapBarCode.AutoModule property.

See Also