Description:
Write information in this document to a file. Note, the active document's name will be changed to that of the path provided.
Syntax:
Parameters:
- path
- Type: string
- The name of the file to write.
- options
- Type: FileWriteOptions
- The file writing options.
Returns:
Type: bool
True if successful, False on failure.
Remarks:
This is the best choice for general file writing. It handles making backups using temporary files, locking and unlocking, loading file writing plug-ins, and many other details.
Available since:
5.0