Document Solutions for PDF
DS.Documents.DX.Windows Assembly / GrapeCity.Documents.DX.Direct2D Namespace / Bitmap Class / Create Method / Create(RenderTarget,Surface) Method
an instance of RenderTarget
An GrapeCity.Documents.DX.DXGI.Surface that contains the data to share with the new ID2D1Bitmap. For more information, see the Remarks section.

In This Topic
    Create(RenderTarget,Surface) Method
    In This Topic
    Creates an Bitmap whose data is shared with another resource.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Create( _
       ByVal renderTarget As RenderTarget, _
       ByVal surface As Surface _
    ) As Bitmap
    public static Bitmap Create( 
       RenderTarget renderTarget,
       Surface surface
    )

    Parameters

    renderTarget
    an instance of RenderTarget
    surface
    An GrapeCity.Documents.DX.DXGI.Surface that contains the data to share with the new ID2D1Bitmap. For more information, see the Remarks section.
    See Also