Skip to main content

BarCodePropertyProvider.YToXRatio Property

Gets or sets the height-to-width ratio of a logical unit’s graphic representation. This is a dependency property.

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v24.2.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public float YToXRatio { get; set; }

Property Value

Type Description
Single

A System.Single value specifying the height-to-width ratio of a logical unit’s graphic representation.

Remarks

Use the YToXRatio property to control the height-to-width ratio of the graphic representation of a barcode’s logical unit.

To manage the logical dimensions of the barcode, use the BarCodePropertyProvider.Rows and BarCodePropertyProvider.Columns properties.

See Also