Savedocumentas function – Multichannel Systems NeuroExplorer User Manual
Page 153

5.5.1.11. SaveDocumentAs Function
SaveDocumentAs Function
Saves the specified document (in .nex format) in a file with the specified file path.
Syntax
SaveDocumentAs(doc, filePath)
Parameters
Parameter
Type
Description
doc
documentReference Reference to the document.
filePath
string
File path.
Returns
None
Comments
None
Usage
NexScript
doc = GetActiveDocument()
SaveDocumentAs(doc, "C:\data\file1.nex")
See Also
Introduction to NexScript Programming
Page 151