ITextSnapshot2.SaveToFile(String, Boolean, Encoding) 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.
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.