[]
Saves (exports) the current document in the specified file.
If fileName
is empty or specifies a directory,
the user can select a file name in a "save file" dialog.
If specified, exportProvider
determines
the save/export format, otherwise the file extension is used.
public bool FileSave(string fileName, ExportProvider exportProvider, bool showErrorMessage)
Type | Name | Description |
---|---|---|
string | fileName | The target file name. |
ExportProvider | exportProvider | The export provider to use. |
bool | showErrorMessage | If true, error message is shown if an exception occurs, otherwise the exception is rethrown. |
Type | Description |
---|---|
bool | true if the current document was saved, false if operation was cancelled,
or if |
Saves (exports) the current document in the specified file.
If fileName
is empty or specifies a directory,
the user can select a file name in a "save file" dialog.
If specified, exportProvider
determines
the save/export format, otherwise the file extension is used.
public bool FileSave(string fileName, ExportProvider exportProvider)
Type | Name | Description |
---|---|---|
string | fileName | The target file name. |
ExportProvider | exportProvider | The export provider to use. |
Type | Description |
---|---|
bool | true if the current document was saved, false otherwise. |
Saves (exports) the current document in the specified file. The user can select a file name in a "save file" dialog. The save/export format is determined by the file extension.
public bool FileSave()
Type | Description |
---|---|
bool | true if the current document was saved, false otherwise. |