Gets the top
SheetView object.
Syntax
Visual Basic (Declaration) | |
---|
Public Function GetRootSheet() As SheetView |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As SheetView
Dim value As SheetView
value = instance.GetRootSheet() |
Return Value
SheetView object containing the top sheet in a hierarchy of sheets
Example
This example illustrates the method by returning the top sheet in the view.
C# | Copy Code |
---|
FarPoint.Win.Spread.SheetView sv;
sv = fpSpread1.ActiveSheet.GetRootSheet();
label1.Text = "The top sheet is - " + sv.SheetName; |
Visual Basic | Copy Code |
---|
Dim sv As FarPoint.Win.Spread.SheetView
sv = FpSpread1.ActiveSheet.GetRootSheet()
Label1.Text = "The top sheet is - " & sv.SheetName |
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