Skip to main content

XRConvert.ConvertTo(Rectangle, Single) Method

Adjusts the location and size of a rectangle calculated for the current DPI according to the specified DPI.

Namespace: DevExpress.XtraReports.UI

Assembly: DevExpress.Printing.v24.1.Core.dll

NuGet Package: DevExpress.Printing.Core

Declaration

public Rectangle ConvertTo(
    Rectangle val,
    float dpi
)

Parameters

Name Type Description
val Rectangle

A Rectangle structure.

dpi Single

A Single value, specifying the required DPI setting.

Returns

Type Description
Rectangle

A Rectangle structure.

See Also