Summary
Converts a
Size
to device pixels using the specified dots per inch (DPI).
Syntax
public static PixelSize FromSizeWithDpi(Size size, double dpi)
Parameters
Name | Type | Description |
---|---|---|
size | Size | The size. |
dpi | double | The dots per inch. |
Return Value
Type | Description |
---|---|
PixelSize | The device-independent size. |