Table of Contents

Method SaveFile

Namespace
Alternet.Editor.Wpf
Assembly
Alternet.Editor.Wpf.v9.dll

SaveFile(string, IStringExport)

When implemented by a class, saves content to the given file with specified exporter.

bool SaveFile(string fileName, IStringExport exporter)

Parameters

fileName string

Name of file to save content.

exporter IStringExport

Specifies exporter to save content.

Returns

bool

True is succeed; otherwise false.

SaveFile(string, IStringExport, Encoding)

When implemented by a class, saves content to the given file with specified exported and specific encoding.

bool SaveFile(string fileName, IStringExport exporter, Encoding encoding)

Parameters

fileName string

Name of file to save content.

exporter IStringExport

Specifies exporter to save content.

encoding Encoding

Specifies the character encoding to use.

Returns

bool

True is succeed; otherwise false.