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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2