In This Topic
Scales a
System.Drawing.Size from the default DPI (dots per inch) settings to the DPI settings of the current device.
Syntax
'Declaration
Public Function ScaleSizeToDpi( _
ByVal As Size _
) As Size
public Size ScaleSizeToDpi(
Size
)
Parameters
- size
- The original System.Drawing.Size to scale.
Return Value
A new
System.Drawing.Size that has been scaled to match the current device's DPI settings.
See Also