Spread Windows Forms 7.0 Product Documentation
GetChildWorkbooks Method
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SpreadView Class : GetChildWorkbooks Method


Glossary Item Box

Gets all child views (SpreadView objects) that have been created.

Syntax

Visual Basic (Declaration) 
Public Function GetChildWorkbooks() As ArrayList
Visual Basic (Usage)Copy Code
Dim instance As SpreadView
Dim value As ArrayList
 
value = instance.GetChildWorkbooks()
C# 
public ArrayList GetChildWorkbooks()

Return Value

ArrayList of child workbooks (SpreadView objects) in a hierarchy

Example

This example uses the GetChildWorkbooks method.
C#Copy Code
FarPoint.Win.Spread.SpreadView sv, sv1;
ArrayList al;
sv = fpSpread1.GetRootWorkbook()
al = sv.GetChildWorkbooks();
sv1 = (FarPoint.Win.Spread.SpreadView) al[0];
sv1.GetSheetView().ActiveColumn.BackColor = Color.Yellow
VB.NETCopy Code
Dim sv, sv1 As FarPoint.Win.Spread.SpreadView
Dim al As ArrayList
sv = FpSpread1.GetRootWorkbook()
al = sv.GetChildWorkbooks()
sv1 = CType(al(0), FarPoint.Win.Spread.SpreadView)
sv1.GetSheetView().ActiveColumn.BackColor = Color.Yellow

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

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.