GraphicsUnitConverter.Convert(RectangleF, GraphicsUnit, GraphicsUnit) Method
In This Article
Adjusts the location and size of a rectangle calculated for the specified unit of measure according to a new unit of measure.
Namespace: DevExpress.XtraPrinting
Assembly: DevExpress.Data.v24.2.dll
NuGet Package: DevExpress.Data
#Declaration
public static RectangleF Convert(
RectangleF val,
GraphicsUnit fromUnit,
GraphicsUnit toUnit
)
#Parameters
Name | Type | Description |
---|---|---|
val | Rectangle |
A Rectangle |
from |
Graphics |
A Graphics |
to |
Graphics |
A Graphics |
#Returns
Type | Description |
---|---|
Rectangle |
A Rectangle |
See Also