Spread Windows Forms 12.0 Product Documentation
GetActiveWorkbook Method

FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SpreadView Class : GetActiveWorkbook Method
Gets the active view (SpreadView object).
Public Function GetActiveWorkbook() As SpreadView
Dim instance As SpreadView
Dim value As SpreadView
value = instance.GetActiveWorkbook()
public SpreadView GetActiveWorkbook()

Return Value

Active workbook (SpreadView object)

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


SpreadView Class
SpreadView Members

User-Task Documentation

Working with the Active Sheet
Working with Hierarchical Data Display