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


In This Topic
    Paint(Workbook,IDrawingSurface,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 IDrawingSurface, _
       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 IDrawingSurface
    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