Partager via


ITextSnapshot2.SaveToFile(String, Boolean, Encoding) Method

Definition

Save the entire snapshot to the specified filePath.

public:
 void SaveToFile(System::String ^ filePath, bool replaceFile, System::Text::Encoding ^ encoding);
public void SaveToFile (string filePath, bool replaceFile, System.Text.Encoding encoding);
abstract member SaveToFile : string * bool * System.Text.Encoding -> unit
Public Sub SaveToFile (filePath As String, replaceFile As Boolean, encoding As Encoding)

Parameters

filePath
String

Path to save

replaceFile
Boolean

If true, replace an exising file.

encoding
Encoding

Encoding to use to save the file.

Applies to