ScaleBitmapLogicalToDevice Method (DpiHelper)
In This Topic
Scales a logical bitmap value to it's equivalent device unit value.
Syntax
'Declaration
Public Shared Sub ScaleBitmapLogicalToDevice( _
ByRef As System.Drawing.Bitmap, _
ByVal As System.Integer _
)
public static void ScaleBitmapLogicalToDevice(
ref System.Drawing.Bitmap ,
System.int
)
Parameters
- bitmap
- The bitmap to scale.
- dpi
- The DPI value for the current display device.
See Also