Summary
Converts a
Rect
to device pixels using the specified dots per inch (DPI).
Syntax
public static PixelRect FromRectWithDpi(Rect rect, double dpi)
Parameters
Name | Type | Description |
---|---|---|
rect | Rect | The rect. |
dpi | double | The dots per inch of the device. |
Return Value
Type | Description |
---|---|
PixelRect | The device-independent point. |