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

Glossary Item Box

Gets the width of the document.

Syntax

C# 
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.
C#Copy Code
// get document
Document doc = tab.MainDocument;
 
// get width of the document
int width = doc.Width;
PHPCopy Code
$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

See Also

© 2013 All Rights Reserved.