Spread Windows Forms 12.0 Product Documentation
SheetView Constructor(String)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class > SheetView Constructor : SheetView Constructor(String)
Name of sheet
Creates a sheet (SheetView object) with a specified name.
Syntax
'Declaration
 
Public Function New( _
   ByVal name As String _
)
'Usage
 
Dim name As String
 
Dim instance As New SheetView(name)
public SheetView( 
   string name
)

Parameters

name
Name of sheet
Example
This example creates a SheetView object, adds it to the collection of sheets, and applies it to the active sheet.
Dim sv As New FarPoint.Win.Spread.SheetView("TestView")
sv.ColumnCount = 4
sv.RowCount = 4
FpSpread1.Sheets.Add(sv)
FpSpread1.ActiveSheet = sv
FarPoint.Win.Spread.SheetView sv = new FarPoint.Win.Spread.SheetView("TestView");
sv.ColumnCount = 4;
sv.RowCount = 4;
fpSpread1.Sheets.Add(sv);
fpSpread1.ActiveSheet = sv;
See Also

Reference

SheetView Class
SheetView Members
Overload List

User-Task Documentation

Adding a Sheet