Returns the number of pages contained in the document.
 Syntax:  | 
|---|
| DlxGraphixDocument.GetPageCount() | 
Return Value
Returns the number of pages contained in the document.
Example
                    
                         Copy code
				 | 
			|
|---|---|
  var doc = DlxApp.GetJob().FindDocument("Examples Sch", DlxApp.DOCTYPE_SCHEMATIC);
if (doc.IsValid())
{
  DlxApp.Printf("The document consists of %i pages.", doc.GetPageCount());
}
				 | 
			|
