Parameters
- name
- Name of sheet
This example creates a SheetView object, adds it to the collection of sheets, and applies it to the active sheet.
Visual Basic | Copy Code |
---|---|
Dim sv As New FarPoint.Win.Spread.SheetView("TestView") sv.ColumnCount = 4 sv.RowCount = 4 FpSpread1.Sheets.Add(sv) FpSpread1.ActiveSheet = sv |
C# | Copy Code |
---|---|
FarPoint.Win.Spread.SheetView sv = new FarPoint.Win.Spread.SheetView("TestView"); sv.ColumnCount = 4; sv.RowCount = 4; fpSpread1.Sheets.Add(sv); fpSpread1.ActiveSheet = sv; |
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8