Returns the number of pages contained in the document.

syntaxSyntax:
DlxGraphixDocument.GetPageCount()

Return Value

Returns the number of pages contained in the document.

Example

  Copy codeCopy code
var doc = DlxApp.GetJob().FindDocument("Examples Sch", DlxApp.DOCTYPE_SCHEMATIC);
if (doc.IsValid())
{
  DlxApp.Printf("The document consists of %i pages.", doc.GetPageCount());
}

See also