ZennoLab Assemblies Documentation
Forms Property
Example 
ZennoLab.CommandCenter Namespace > Document Class : Forms Property
Gets all forms of the document.
Syntax
public HtmlElementCollection Forms {get;}

Property Value

Type: Zennolab.CommandCenter.HtmlElementCollection

A collection that contains all forms of the document.

Example
The following code example uses the Forms property.
// get document
Document doc = tab.MainDocument;
 
// get collection of all forms
HtmlElementCollection heCol = doc.Forms;
// get document
$doc = $tab->MainDocument;
 
// get collection of all forms
$heCol = $doc->Forms;
Requirements

Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

Document Class
Document Members
HtmlElementCollection Class
MainForm Property