Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Drawing Namespace / IDrawingContext Interface / DrawImage Method / DrawImage(WriteableBitmap,Rectangle) Method
The bitmap to paint.
The rectangle to draw.


In This Topic
    DrawImage(WriteableBitmap,Rectangle) Method
    In This Topic
    Draws the specified ImageDrawing object.
    Syntax
    'Declaration
     
    
    Overloads Sub DrawImage( _
       ByVal bitmap As WriteableBitmap, _
       ByVal rect As Rectangle _
    ) 
    'Usage
     
    
    Dim instance As IDrawingContext
    Dim bitmap As WriteableBitmap
    Dim rect As Rectangle
     
    instance.DrawImage(bitmap, rect)
    void DrawImage( 
       WriteableBitmap bitmap,
       Rectangle rect
    )

    Parameters

    bitmap
    The bitmap to paint.
    rect
    The rectangle to draw.
    See Also