Spread Windows Forms 6.0 Product Documentation
ClearShapes Method
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : ClearShapes Method


Glossary Item Box

Removes all shapes from the drawing container for the sheet.

Syntax

Visual Basic (Declaration) 
Public Overridable Sub ClearShapes() 
Visual Basic (Usage)Copy Code
Dim instance As SheetView
 
instance.ClearShapes()
C# 
public virtual void ClearShapes()

Example

This example deletes all the shapes in the sheet container.
C#Copy Code
fpSpread1.ActiveSheet.ClearShapes()
Visual BasicCopy Code
FpSpread1.ActiveSheet.ClearShapes()

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.