Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / ICompositeShape Interface / Paint 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.
All children will be painted if true, otherwise not.


In This Topic
    Paint Method (ICompositeShape)
    In This Topic
    Paint the ICompositeShape object with children.
    Syntax
    'Declaration
     
    
    Sub Paint( _
       ByVal workbook As Workbook, _
       ByVal drawingContext As IDrawingContext, _
       ByVal rect As Rectangle, _
       ByVal useableCachedBitmap As Boolean, _
       ByVal paintChildren As Boolean _
    ) 
    'Usage
     
    
    Dim instance As ICompositeShape
    Dim workbook As Workbook
    Dim drawingContext As IDrawingContext
    Dim rect As Rectangle
    Dim useableCachedBitmap As Boolean
    Dim paintChildren As Boolean
     
    instance.Paint(workbook, drawingContext, rect, useableCachedBitmap, paintChildren)

    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.
    paintChildren
    All children will be painted if true, otherwise not.
    See Also