Saves (exports) the current document in the specified file. If is empty or specifies a directory, the user can select a file name in a "save file" dialog. If specified, determines the save/export format, otherwise the file extension is used.
'Declaration
Public Overloads Function FileSave( _
ByVal As System.String, _
ByVal As ExportProvider _
) As System.Boolean
public System.bool FileSave(
System.string ,
ExportProvider
)
Parameters
- fileName
- The target file name.
- exportProvider
- The export provider to use.
Return Value
true if the current document was saved, false otherwise.