Compartir a través de


ITextDocumentEditor.SaveCopy Method

Definition

Overloads

SaveCopy(String, Boolean)

Saves the contents of Document to disk with the new filePath. Does not update the Uri of the underlying document, as used by subsequent Save()s.

SaveCopy(String, Boolean, Boolean)

Saves the contents of Document to disk with the new filePath. Does not update the Uri of the underlying document, as used by subsequent Save()s.

SaveCopy(String, Boolean)

Saves the contents of Document to disk with the new filePath. Does not update the Uri of the underlying document, as used by subsequent Save()s.

public void SaveCopy (string filePath, bool overwrite);
abstract member SaveCopy : string * bool -> unit
Public Sub SaveCopy (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

SaveCopy(String, Boolean, Boolean)

Saves the contents of Document to disk with the new filePath. Does not update the Uri of the underlying document, as used by subsequent Save()s.

public void SaveCopy (string filePath, bool overwrite, bool createFolder);
abstract member SaveCopy : string * bool * bool -> unit
Public Sub SaveCopy (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