Table of Contents

Method SaveStream

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

SaveStream(Stream, IStringExport)

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

bool SaveStream(Stream stream, IStringExport exporter)

Parameters

stream Stream

The Stream object to write the text.

exporter IStringExport

Specifies exporter to save content.

Returns

bool

True is succeed; otherwise false.

SaveStream(Stream, IStringExport, Encoding)

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

bool SaveStream(Stream stream, IStringExport exporter, Encoding encoding)

Parameters

stream Stream

The Stream object to write the text.

exporter IStringExport

Specifies exporter to save content.

encoding Encoding

Specifies the character encoding to use.

Returns

bool

True is succeed; otherwise false.

SaveStream(TextWriter, IStringExport)

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

bool SaveStream(TextWriter writer, IStringExport exporter)

Parameters

writer TextWriter

The TextWriter object to write the text.

exporter IStringExport

Specifies exporter to save content.

Returns

bool

True is succeed; otherwise false.