[]
Saves the currently loaded document, allowing the user to select the file name and the output format, using the ExportOptions specified on the current preview pane.
public bool FileSave()
Type | Description |
---|---|
bool | true if the file was saved, false if an error occurred or if the user cancelled the dialog. |
If a handler is assigned to the Error event, that handler is invoked but no message is shown to the user.
Saves the currently loaded document into the specified fileName
.
If fileName
is null or empty, or if
exportProvider
is null,
shows the file save dialog allowing the user to select
the file name and output format.
ExportOptions specified on the current preview pane are used when saving the document.
public bool FileSave(string fileName, ExportProvider exportProvider)
Type | Name | Description |
---|---|---|
string | fileName | The output file name. |
ExportProvider | exportProvider | The ExportProvider to use. |
Type | Description |
---|---|
bool | true if the file was saved, false if an error occurred or if the user cancelled the dialog. |
If a handler is assigned to the Error event, that handler is invoked but no message is shown to the user.