GraphicsUnitConverter.Convert(RectangleF, Single, Single) Method
In This Article
Adjusts the location and size of a rectangle calculated for the specified DPI according to a new DPI.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Data.v24.2.dll
NuGet Package: DevExpress.Data
#Declaration
public static RectangleF Convert(
RectangleF val,
float fromDpi,
float toDpi
)
#Parameters
Name | Type | Description |
---|---|---|
val | Rectangle |
A Rectangle |
from |
Single | A Single value, specifying the initial DPI setting. |
to |
Single | A Single value, specifying the required DPI setting. |
#Returns
Type | Description |
---|---|
Rectangle |
A Rectangle |
See Also