ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.Direct2D Namespace / Bitmap1 Class / Create Method / Create(DeviceContext,BitmapSource) Method
The render target.
A reference to a C1.Util.DX.WIC.BitmapSource wic bitmap.

In This Topic
    Create(DeviceContext,BitmapSource) Method
    In This Topic
    Creates a Bitmap from a wic bitmap.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Create( _
       ByVal deviceContext As DeviceContext, _
       ByVal wicBitmapSource As BitmapSource _
    ) As Bitmap1
    public static Bitmap1 Create( 
       DeviceContext deviceContext,
       BitmapSource wicBitmapSource
    )

    Parameters

    deviceContext
    The render target.
    wicBitmapSource
    A reference to a C1.Util.DX.WIC.BitmapSource wic bitmap.
    See Also