Retrieves a reference to the active document of the accessed BrainVoyager instance.
objDocument objBrainVoyager.ActiveDocument()
If successful, the document object objDocument is returned. Use this object to access document methods. If the operation fails, i.e. if there is no document open in BrainVoyager, the return value is ?.
' VBScript
Set doc = BrainVoyager.ActiveDocument
// JScript
doc = BrainVoyager.ActiveDocument();
# PerlScript
$doc = $BrainVoyager->ActiveDocument();