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