public NPromise<bool> SaveToFileAsync( NFile file, TDocFormat documentFormat, TDocSaveSettings saveSettings, System.bool reportErrors )
Parameters
- file
- documentFormat
- saveSettings
- reportErrors
- whether errors should be reported to the user
Return Value
a promise which resolves to true, if document was successfully saved, otherwise false