Zennolab.CommandCenter
GetFrames Method
See Also  Example Send Feedback
Zennolab.CommandCenter Namespace > Document Class : GetFrames Method
recursive

Type: System.Boolean

true to return the all frames; otherwise, false.

Returns the all frames.

Syntax

C# 
public DocumentCollection GetFrames( 
   bool recursive
)

Parameters

recursive

Type: System.Boolean

true to return the all frames; otherwise, false.

Return Value

Type: Zennolab.CommanCenter.DocumentCollection

The collection of frames.

Example

The following code example demonstrates uses of the GetFrames method. Shows the method call in two versions.
C#Copy Code
Document doc = tab.MainDocument;
            
DocumentCollection docCol1 = doc.GetFrames(true);
            
DocumentCollection docCol2 = doc.GetFrames(false);
PHPCopy Code
$doc = $tab->MainDocument;
            
$docCol1 = $doc->GetFrames(true);
            
$docCol2 = $doc->GetFrames(false);

Requirements

Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.