Skip to main content

XRConvert.ConvertFrom(Rectangle, Single) Method

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

Namespace: DevExpress.XtraReports.UI

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

NuGet Package: DevExpress.Printing.Core

Declaration

public Rectangle ConvertFrom(
    Rectangle val,
    float dpi
)

Parameters

Name Type Description
val Rectangle

A Rectangle structure.

dpi Single

A Single value, specifying the initial DPI setting.

Returns

Type Description
Rectangle

A Rectangle structure.

See Also