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.
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); | |
| PHP | Copy Code |
|---|---|
$doc = $tab->MainDocument; $pagesText = $doc->GetPageText(true); $pageText = $doc->GetPageText(false); | |
Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family