CodabarGenerator.WideNarrowRatio Property

Gets or sets the density of a barcode's bars.

Namespace: DevExpress.XtraPrinting.BarCode

Assembly: DevExpress.Printing.v20.2.Core.dll

Declaration

[DefaultValue(2)]
public float WideNarrowRatio { get; set; }
<DefaultValue(2)>
Public Property WideNarrowRatio As Single

Property Value

Type Default Description
Single

2

A float value specifying the density of a barcode's bars.

Remarks

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