ZennoLab Assemblies Documentation
Forms Property
See Also  Example Send Feedback
ZennoLab.CommandCenter Assembly > ZennoLab.CommandCenter Namespace > Document Class : Forms Property

Glossary Item Box

Gets all forms of the document.

Syntax

C# 
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.
C#Copy Code
// get document
Document doc = tab.MainDocument;
 
// get collection of all forms
HtmlElementCollection heCol = doc.Forms;
PHPCopy Code
// get document
$doc = $tab->MainDocument;
 
// get collection of all forms
$heCol = $doc->Forms;

Requirements

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

See Also

© 2013 All Rights Reserved.