Activate the document.

syntaxSyntax:
DlxDocument.Activate()

Return Value

If the document is activated it returns true otherwise it returns false.

Remarks

If the document is closed, it is first opened in the editor and then made active.

Example

  Copy codeCopy code
var doc = DlxApp.GetJob().FindDocument("Example Sch", DlxApp.DOCTYPE_SCHEMATIC);
if (doc.IsValid())
{
  doc.Activate();
}

See also