.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

CodabarOptions.WideNarrowRatio Property

Gets or sets the density of bars.

Namespace: DevExpress.BarCodes

Assembly: DevExpress.Docs.v21.1.dll


public float WideNarrowRatio { get; set; }

Property Value

Type Description

A float value specifying the density of bars. The default is 2.

Property Paths

You can access this nested property as listed below:

Object Type Path to WideNarrowRatio


Use this property to specify the ratio of the thickest bar to the narrowest. The value assigned should be equal to or between 2 and 3.

See Also