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

Type: System.Boolean

true to return dom text of the document and dom text of the sub-documents recorded through delimiters; otherwise, false.

Glossary Item Box

Returns the dom text of the document.

Syntax

C# 
public string GetDomText( 
   bool recursive
)

Parameters

recursive

Type: System.Boolean

true to return dom text of the document and dom text of the sub-documents recorded through delimiters; otherwise, false.

Return Value

Type: System.String

The dom text of the document

Example

The following code example demonstrates uses of the GetDomText method. Shows the method call in two versions.
C#Copy Code
Document doc = tab.MainDocument;
 
string domText1 = doc.GetDomText(true);
        
string domText2 = doc.GetDomText(false);
PHPCopy Code
$doc = $tab->MainDocument;
 
$domText1 = $doc->GetDomText(true);
            
$domText2 = $doc->GetDomText(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.