ZennoLab.CommandCenter Assembly > ZennoLab.CommandCenter Namespace > Document Class : GetFrames Method |
Type: System.Boolean
true to return the all frames; otherwise, false.
public DocumentCollection GetFrames( bool recursive )
Type: System.Boolean
true to return the all frames; otherwise, false.
Type: Zennolab.CommanCenter.DocumentCollection
The collection of frames.
// get document Document doc = tab.MainDocument; // get recursive all frames DocumentCollection docCol1 = doc.GetFrames(true); // get all frames from first level DocumentCollection docCol2 = doc.GetFrames(false);
// get document $doc = $tab->MainDocument; // get recursive all frames $docCol1 = $doc->GetFrames(true); // get all frames from first level $docCol2 = $doc->GetFrames(false);
Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows Seven