Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / Shape Class / Paint Method / Paint(Workbook,IDrawingSurface,Rectangle,Boolean) Method
The workbook that contains this drawing object.
The drawing context that paints this drawing object.
The painting area that display this drawing object.
Clear the old geometry cache if true, otherwise painting with cache geometry.


In This Topic
    Paint(Workbook,IDrawingSurface,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 drawingContext As IDrawingSurface, _
       ByVal rect As Rectangle, _
       ByVal useableCachedBitmap As Boolean _
    ) 
    'Usage
     
    
    Dim instance As Shape
    Dim workbook As Workbook
    Dim drawingContext As IDrawingSurface
    Dim rect As Rectangle
    Dim useableCachedBitmap As Boolean
     
    instance.Paint(workbook, drawingContext, rect, useableCachedBitmap)

    Parameters

    workbook
    The workbook that contains this drawing object.
    drawingContext
    The drawing context that paints this drawing object.
    rect
    The painting area that display this drawing object.
    useableCachedBitmap
    Clear the old geometry cache if true, otherwise painting with cache geometry.
    See Also