Spread Windows Forms 11.0 Product Documentation
Reset Method (SheetView)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : Reset Method
Resets the view on this sheet to its original state.
Overload List
OverloadDescription
Resets the view on this sheet to its original state.  
Example
This example resets the sheet to its default values.
fpSpread1.ActiveSheet.ColumnCount = 3;
fpSpread1.ActiveSheet.RowCount = 3;
listBox1.Items.Add(fpSpread1.ActiveSheet.ColumnCount);
listBox1.Items.Add(fpSpread1.ActiveSheet.RowCount);
fpSpread1.ActiveSheet.Reset();
listBox1.Items.Add(fpSpread1.ActiveSheet.ColumnCount);
listBox1.Items.Add(fpSpread1.ActiveSheet.RowCount);
FpSpread1.ActiveSheet.ColumnCount = 3
FpSpread1.ActiveSheet.RowCount = 3
ListBox1.Items.Add(FpSpread1.ActiveSheet.ColumnCount)
ListBox1.Items.Add(FpSpread1.ActiveSheet.RowCount)
FpSpread1.ActiveSheet.Reset()
ListBox1.Items.Add(FpSpread1.ActiveSheet.ColumnCount)
ListBox1.Items.Add(FpSpread1.ActiveSheet.RowCount)
See Also

Reference

SheetView Class
SheetView Members

User-Task Documentation

Resetting Parts of the Component