Spread Windows Forms 7.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 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

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