Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / Shape Class / Paint Method / Paint(Workbook,IDrawingContext,GeometryDrawing,Rectangle,Boolean) Method
The workbook that contains this drawing object.
The painting area that display this drawing object.


In This Topic
    Paint(Workbook,IDrawingContext,GeometryDrawing,Rectangle,Boolean) Method
    In This Topic
    Paints this drawing object to the specified drawing context.
    Syntax
    'Declaration
     
    
    Public Overloads Sub Paint( _
       ByVal workbook As Workbook, _
       ByVal context As IDrawingContext, _
       ByVal geometryDrawing As GeometryDrawing, _
       ByVal rect As Rectangle, _
       Optional ByVal useableCachedBitmap As Boolean _
    ) 
    'Usage
     
    
    Dim instance As Shape
    Dim workbook As Workbook
    Dim context As IDrawingContext
    Dim geometryDrawing As GeometryDrawing
    Dim rect As Rectangle
    Dim useableCachedBitmap As Boolean
     
    instance.Paint(workbook, context, geometryDrawing, rect, useableCachedBitmap)

    Parameters

    workbook
    The workbook that contains this drawing object.
    context
    geometryDrawing
    rect
    The painting area that display this drawing object.
    useableCachedBitmap
    See Also