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

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.v18.2.Core.dll

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