Activate the document.
Syntax: |
---|
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 code | |
---|---|
var doc = DlxApp.GetJob().FindDocument("Example Sch", DlxApp.DOCTYPE_SCHEMATIC);
if (doc.IsValid())
{
doc.Activate();
}
|