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