| Visual Basic (Declaration) | |
|---|---|
Public Function New() | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As New SheetView() | |
| C# | |
|---|---|
public SheetView() | |
This example creates a sheet and assigns it to the spread.
| C# | Copy Code |
|---|---|
private void button1Click(object sender, System.EventArgs e) { FarPoint.Win.Spread.SheetView sv = new FarPoint.Win.Spread.SheetView(); fpSpread1.Sheets.Add(sv); } | |
| Visual Basic | Copy Code |
|---|---|
Private Sub Button1Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim sv As New FarPoint.Win.Spread.SheetView FpSpread1.Sheets.Add(sv) End Sub | |
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8