Spread Windows Forms 9.0 Product Documentation
GetActiveWorkbook Method
Example 


Gets the active view (SpreadView object).
Syntax
'Declaration
 
Public Function GetActiveWorkbook() As SpreadView
'Usage
 
Dim instance As SpreadView
Dim value As SpreadView
 
value = instance.GetActiveWorkbook()
public SpreadView GetActiveWorkbook()

Return Value

Active workbook (SpreadView object)

Example
This example uses the GetActiveWorkbook method.
FarPoint.Win.Spread.SpreadView sv;
sv = fpSpread1.GetRootWorkbook();
label1.Text = sv.GetActiveWorkbook().ToString();
Dim sv As FarPoint.Win.Spread.SpreadView
sv = FpSpread1.GetRootWorkbook
Label1.Text = sv.GetActiveWorkbook().ToString()
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

SpreadView Class
SpreadView Members

User-Task Documentation

Working with the Active Sheet
Working with Hierarchical Data Display

 

 


Copyright © GrapeCity, inc. All rights reserved.