ToRectWithDpi(Double) Method
Converts the PixelRect to a device-independent Rect using the specified dots per inch (DPI).
Definition
Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public Rect ToRectWithDpi(
double dpi
)
Public Function ToRectWithDpi (
dpi As Double
) As Rect
member ToRectWithDpi :
dpi : float -> Rect
Parameters
- Double
- The dots per inch of the device.
Return Value
Rect
The device-independent rect.
See Also
Reference
PixelRect Structure
ToRectWithDpi Overload
Avalonia Namespace