
5.5.1.14. SaveAsTextFile Function
SaveAsTextFile Function
Saves the document in the text file with the specified file name.
Syntax
SaveAsTextFile(doc, filePath)
Parameters
Parameter Type Description
doc documentReference Reference to the document.
filePath string Text file path.
Returns
None
Comments
This function uses options that were specified the last time the menu command File | Export Data |
As Text File was executed.
Usage
NexScript
doc = GetActiveDocument()
SaveAsTextFile(doc, fileNename)
See Also
Introduction to NexScript Programming
NexScript Function Categories
Page 154
Kommentare zu diesen Handbüchern