[]
        
(Showing Draft Content)

C1.Win.Util.DpiHelper.ScaleBitmapLogicalToDevice

ScaleBitmapLogicalToDevice Method

ScaleBitmapLogicalToDevice(ref Bitmap, int)

Scales a logical bitmap value to it's equivalent device unit value.

Declaration
public static void ScaleBitmapLogicalToDevice(ref Bitmap bitmap, int dpi)
Parameters
Type Name Description
Bitmap bitmap

The bitmap to scale.

int dpi

The DPI value for the current display device.