Spread Windows Forms 12.0 Product Documentation
GetActiveWorkbook Method
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SpreadView Class : GetActiveWorkbook Method
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()
See Also

Reference

SpreadView Class
SpreadView Members

User-Task Documentation

Working with the Active Sheet
Working with Hierarchical Data Display