Document Solutions for PDF
GrapeCity.Documents.DX.Windows Assembly / GrapeCity.Documents.DX.Direct2D Namespace / BitmapBrush Class / Create Method / Create(RenderTarget,Bitmap) Method
an instance of RenderTarget
The bitmap contents of the new brush.

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

    Parameters

    renderTarget
    an instance of RenderTarget
    bitmap
    The bitmap contents of the new brush.
    See Also