ZennoLab Assemblies Documentation
Width Property (Document)
Example 
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: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows Seven

See Also

Reference

Document Class
Document Members
Height Property

Send Feedback