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

ReportUnitExtensions.ToDpi(ReportUnit) Method

Converts the specified report unit to a corresponding DPI value.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.XtraReports.v19.1.dll

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

Declaration

public static float ToDpi(
    this ReportUnit reportUnit
)

Parameters

Name Type Description
reportUnit ReportUnit

A ReportUnit enumeration value.

Returns

Type Description
Single

A Single value.

See Also