Spread Windows Forms 7.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 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

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