ClearCachePaintingLayout Method
Clears all cached painting data of the specified drawing object.
'Declaration
Public Sub ClearCachePaintingLayout( _
Optional ByVal As DrawingObject, _
Optional ByVal As Boolean, _
Optional ByVal As Boolean, _
Optional ByVal As Boolean _
)
'Usage
Dim instance As WorksheetDrawing
Dim drawingObject As DrawingObject
Dim includeAncestors As Boolean
Dim includeDescendants As Boolean
Dim clearShapeEditingData As Boolean
instance.ClearCachePaintingLayout(drawingObject, includeAncestors, includeDescendants, clearShapeEditingData)
Parameters
- drawingObject
- The drawing object.
- includeAncestors
true
if the cached painting data of ancestors should be cleared too.- includeDescendants
true
if the cached painting data of descendants should be cleared too.- clearShapeEditingData