ZennoLab Assemblies Documentation
GetPageText Method
See Also  Example Send Feedback
ZennoLab.CommandCenter Assembly > ZennoLab.CommandCenter Namespace > Document Class : GetPageText Method
recursive

Type: System.Boolean

true to return text of the page and text of the subpage recorded through delimiters; otherwise, false.

Glossary Item Box

Gets the text of the document that the user sees

Syntax

C# 
public string GetPageText( 
   bool recursive
)

Parameters

recursive

Type: System.Boolean

true to return text of the page and text of the subpage recorded through delimiters; otherwise, false.

Return Value

Type: System.String

The text of the document.

Example

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

Requirements

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

See Also

© 2012 All Rights Reserved.