Sets the specified page as the active page. The active page is the one displayed in the editor and on which you can work.

syntaxSyntax:
DlxGraphixDocument.SelectPage(page)

Parameters

Parameter Description
page The page to be set as active.

Return Value

If the operation ends correctly it returns true otherwise it returns false.

Example

  Copy codeCopy code
var doc = DlxApp.GetJob().FindDocument("Examples Sch", DlxApp.DOCTYPE_SCHEMATIC);
if (doc.IsValid())
{
  var p = doc.GetPage(2);
  doc.SelectPage(p);
}

See also