Document Solutions for PDF
GrapeCity.Documents.DX.Windows Assembly / GrapeCity.Documents.DX.Direct2D Namespace / Bitmap1 Class / Create Method / Create(DeviceContext,Size2L,BitmapProperties1) Method
an instance of RenderTarget
The dimension of the bitmap to create in pixels.
The pixel format and dots per inch (DPI) of the bitmap to create.

In This Topic
    Create(DeviceContext,Size2L,BitmapProperties1) Method
    In This Topic
    Creates a Direct2D bitmap from a pointer to in-memory source data.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Create( _
       ByVal deviceContext As DeviceContext, _
       ByVal size As Size2L, _
       ByVal bitmapProperties As BitmapProperties1 _
    ) As Bitmap1
    public static Bitmap1 Create( 
       DeviceContext deviceContext,
       Size2L size,
       BitmapProperties1 bitmapProperties
    )

    Parameters

    deviceContext
    an instance of RenderTarget
    size
    The dimension of the bitmap to create in pixels.
    bitmapProperties
    The pixel format and dots per inch (DPI) of the bitmap to create.
    See Also