Spread Windows Forms 6.0 Product Documentation
SheetView Constructor()
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class > SheetView Constructor : SheetView Constructor()


Glossary Item Box

Creates a new sheet (SheetView object).

Syntax

Visual Basic (Declaration) 
Public Function New()
Visual Basic (Usage)Copy Code
Dim instance As New SheetView()
C# 
public SheetView()

Example

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 BasicCopy 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

Requirements

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

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.