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

XtraReport.UnitToDpi(ReportUnit) Method

OBSOLETE

Use the ReportUnit.ToDpi method instead.

Converts report measurement units into screen coordinates.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v20.1.dll

NuGet Packages: DevExpress.Reporting.Core, DevExpress.WindowsDesktop.Reporting.Core

Declaration

[Obsolete("Use the ReportUnit.ToDpi method instead.")]
public static float UnitToDpi(
    ReportUnit reportUnit
)

Parameters

Name Type Description
reportUnit ReportUnit

A ReportUnit enumeration value.

Returns

Type Description
Single

A Single value.

See Also