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: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

Tab Class
Tab Members
Document Class
MainBody Property

Send Feedback