Summary
Converts a
Size
to device pixels using the specified scaling factor.
Syntax
public static PixelSize FromSize(Size size, double scale)
Parameters
Name | Type | Description |
---|---|---|
size | Size | The size. |
scale | double | The scaling factor. |
Return Value
Type | Description |
---|---|
PixelSize | The device-independent size. |