InputPanel for WinForms | ComponentOne
C1.Win.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 Bitmap, _
       ByVal dpi As Integer _
    ) 
    public static void ScaleBitmapLogicalToDevice( 
       ref Bitmap bitmap,
       int dpi
    )

    Parameters

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