Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / GrapeCity.Native.Gdi32 Namespace / CompatibleBitmap Class / Create Method
An System.IntPtr value indicates the window handle.
An integer value indicates the bitmap width.
An integer value indicates the bitmap height.


In This Topic
    Create Method (CompatibleBitmap)
    In This Topic
    Creates a compatible bitmap with the specified window handle.
    Syntax
    'Declaration
     
    
    Public Shared Function Create( _
       ByVal hwnd As IntPtr, _
       ByVal width As Integer, _
       ByVal height As Integer _
    ) As CompatibleBitmap
    'Usage
     
    
    Dim hwnd As IntPtr
    Dim width As Integer
    Dim height As Integer
    Dim value As CompatibleBitmap
     
    value = CompatibleBitmap.Create(hwnd, width, height)
    public static CompatibleBitmap Create( 
       IntPtr hwnd,
       int width,
       int height
    )

    Parameters

    hwnd
    An System.IntPtr value indicates the window handle.
    width
    An integer value indicates the bitmap width.
    height
    An integer value indicates the bitmap height.

    Return Value

    A System.Drawing.Bitmap object represents the created compatible bitmap.
    See Also