ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.Direct2D Namespace / BitmapBrush1 Class / Create Method / Create(DeviceContext,Bitmap1) Method
an instance of DeviceContext
The bitmap contents of the new brush.

In This Topic
    Create(DeviceContext,Bitmap1) Method
    In This Topic
    Creates an BitmapBrush from the specified bitmap.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Create( _
       ByVal deviceContext As DeviceContext, _
       ByVal bitmap As Bitmap1 _
    ) As BitmapBrush1
    public static BitmapBrush1 Create( 
       DeviceContext deviceContext,
       Bitmap1 bitmap
    )

    Parameters

    deviceContext
    an instance of DeviceContext
    bitmap
    The bitmap contents of the new brush.
    See Also