ITextDocumentEditor.SaveAs Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SaveAs(String, Boolean) |
Saves the contents of Document to disk with the new |
SaveAs(String, Boolean, Boolean) |
Saves the contents of Document to disk with the new |
SaveAs(String, Boolean)
Saves the contents of Document to disk with the new filePath
.
public void SaveAs (string filePath, bool overwrite);
abstract member SaveAs : string * bool -> unit
Public Sub SaveAs (filePath As String, overwrite As Boolean)
Parameters
- filePath
- String
The new file path for the document.
- overwrite
- Boolean
If true
, replaces the existing file.
Applies to
SaveAs(String, Boolean, Boolean)
Saves the contents of Document to disk with the new filePath
.
public void SaveAs (string filePath, bool overwrite, bool createFolder);
abstract member SaveAs : string * bool * bool -> unit
Public Sub SaveAs (filePath As String, overwrite As Boolean, createFolder As Boolean)
Parameters
- filePath
- String
The new file path for the document.
- overwrite
- Boolean
If true
, replaces the existing file.
- createFolder
- Boolean
If true
, creates the destination folder, if it does not yet exist.