Spread Windows Forms 8.0 Product Documentation
Clear Method (DefaultSheetAxisModel)
Example 


Index before which to clear the rows or columns
Number of rows or columns to clear
Removes the values from the specified rows or columns.
Syntax
'Declaration
 
Public Overridable Sub Clear( _
   ByVal index As Integer, _
   ByVal count As Integer _
) 
'Usage
 
Dim instance As DefaultSheetAxisModel
Dim index As Integer
Dim count As Integer
 
instance.Clear(index, count)
public virtual void Clear( 
   int index,
   int count
)

Parameters

index
Index before which to clear the rows or columns
count
Number of rows or columns to clear
Example
This example removes the values from the specified rows.
FarPoint.Win.Spread.Model.DefaultSheetAxisModel dsam = new FarPoint.Win.Spread.Model.DefaultSheetAxisModel();
dsam = (FarPoint.Win.Spread.Model.DefaultSheetAxisModel)fpSpread1.ActiveSheet.Models.RowAxis;
dsam.Clear(0, 2);
Dim dsam As New FarPoint.Win.Spread.Model.DefaultSheetAxisModel()
dsam = FpSpread1.ActiveSheet.Models.RowAxis
dsam.Clear(0, 2)
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

Reference

DefaultSheetAxisModel Class
DefaultSheetAxisModel Members

 

 


Copyright © GrapeCity, inc. All rights reserved.