ZennoLab Assemblies Documentation
Width Property (Document)
Example 
ZennoLab.CommandCenter Namespace > Document Class : Width Property
Gets the width of the document.
Syntax
public int Width {get;}

Property Value

Type: System.Int32
The width of the document in pixels.
Example
The following code example uses the Width property.
// get document
Document doc = tab.MainDocument;
 
// get width of the document
int width = doc.Width;
$doc = $tab->MainDocument;
        
$width = $doc->Width;
Requirements

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

See Also

Reference

Document Class
Document Members
Height Property