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; |
| PHP | Copy 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