ZennoLab Assemblies Documentation
MainDocument Property
Example 
Gets the main document the current tab.
Syntax
public Document MainDocument {get;}

Property Value

Type: Zennolab.CommandCenter.Document

The main document.

Example
The following code example uses the MainDocument property.
// get main tab
Tab tab = instance.MainTab;
 
// get main document
Document doc = tab.MainDocument;
// get main tab
$tab = $instance->MainTab;
 
// get main document
$doc = $tab->MainDocument;
Requirements

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

See Also

Reference

Tab Class
Tab Members
Document Class
MainBody Property

Send Feedback