Compartir a través de


ITextDocumentEditor.SaveAs Method

Definition

Overloads

SaveAs(String, Boolean)

Saves the contents of Document to disk with the new filePath.

SaveAs(String, Boolean, Boolean)

Saves the contents of Document to disk with the new filePath.

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.

Applies to