| Visual Basic (Declaration) | |
|---|---|
Public Sub Reset()  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim instance As SheetView instance.Reset()  | |
| C# | |
|---|---|
public void Reset()  | |
This example resets the sheet to its default values.
             
            
            | C# |  Copy Code | 
|---|---|
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);  | |
| Visual Basic |  Copy Code | 
|---|---|
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)  | |
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8