Returns the active view.

syntaxSyntax:
DlxApp.GetActiveView()

Return Value

Returns the object DlxView corresponding to the view. Call the IsValid() method to determine if the object is valid.

Example

  Copy codeCopy code
if (DlxApp.GetActiveView().IsValid())
{
  DlxApp.Trace("Active view: %s", DlxApp.GetActiveView().GetName());
}

See also