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