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

Industrial2of5Generator.WideNarrowRatio Property

Gets or sets the density of a bar code’s bars.

Namespace: DevExpress.XtraPrinting.BarCode

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

Declaration

[DefaultValue(2.5F)]
public float WideNarrowRatio { get; set; }

Property Value

Type Default Description
Single 2.5

A float value specifying the density of a bar code’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 greater than 2.5.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the WideNarrowRatio property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also