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


name
Name of sheet

Glossary Item Box

Creates a sheet (SheetView object) with a specified name.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal name As String _
)
Visual Basic (Usage)Copy Code
Dim name As String
 
Dim instance As New SheetView(name)
C# 
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.
Visual BasicCopy Code
Dim sv As New FarPoint.Win.Spread.SheetView("TestView")
sv.ColumnCount = 4
sv.RowCount = 4
FpSpread1.Sheets.Add(sv)
FpSpread1.ActiveSheet = sv
C#Copy Code
FarPoint.Win.Spread.SheetView sv = new FarPoint.Win.Spread.SheetView("TestView");
sv.ColumnCount = 4;
sv.RowCount = 4;
fpSpread1.Sheets.Add(sv);
fpSpread1.ActiveSheet = sv;

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.