Control.ScaleBitmapLogicalToDevice Method (Bitmap)

 

Scales a logical bitmap value to it's equivalent device unit value when a DPI change occurs.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

member ScaleBitmapLogicalToDevice : 
        logicalBitmap:Bitmap byref -> unit

Parameters

logicalBitmap
Type: System.Drawing.Bitmap

The bitmap to scale.

.NET Framework
Available since 4.7
Return to top
Show: