Spread WinForms 15
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / DrawingObject Class / Paint Method / Paint(Workbook,IDrawingContext,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,IDrawingContext,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 IDrawingContext, _
   ByVal rect As Rectangle, _
   ByVal useableCachedBitmap As Boolean _
) 
 
'Usage
 
Dim instance As DrawingObject
Dim workbook As Workbook
Dim drawingContext As IDrawingContext
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