Skip to main content

XRConvert.ConvertTo(Int32, Single) Method

Adjusts the integer value calculated for the current DPI according to the specified DPI.

Namespace: DevExpress.XtraReports.UI

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

NuGet Package: DevExpress.Printing.Core

Declaration

public int ConvertTo(
    int val,
    float dpi
)

Parameters

Name Type Description
val Int32

An integer value.

dpi Single

A Single value, specifying the required DPI setting.

Returns

Type Description
Int32

An integer value.

See Also