ComponentOne SuperTooltip for WinForms
C1.Win.4.8 Assembly / C1.Win.Util Namespace / DpiHelper Class / ScaleBitmapLogicalToDevice Method
The bitmap to scale.
The DPI value for the current display device.

In This Topic
    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 bitmap As System.Drawing.Bitmap, _
       ByVal dpi As System.Integer _
    ) 
    public static void ScaleBitmapLogicalToDevice( 
       ref System.Drawing.Bitmap bitmap,
       System.int dpi
    )

    Parameters

    bitmap
    The bitmap to scale.
    dpi
    The DPI value for the current display device.
    See Also