'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)
public void Paint( Workbook workbook, IDrawingContext drawingContext, Rectangle rect, bool 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.