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 Bitmap, _
ByVal As Integer _
)
public static void ScaleBitmapLogicalToDevice(
ref Bitmap ,
int
)
Parameters
- bitmap
- The bitmap to scale.
- dpi
- The DPI value for the current display device.
See Also