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

Glossary Item Box

Gets the main document the current tab.

Syntax

C# 
public Document MainDocument {get;}

Property Value

Type: Zennolab.CommandCenter.Document

The main document.

Example

The following code example uses the MainDocument property.
C#Copy Code
// get main tab
Tab tab = instance.MainTab;
 
// get main document
Document doc = tab.MainDocument;
PHPCopy Code
// 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

See Also

© 2013 All Rights Reserved.