Method SaveStream
- Namespace
- Alternet.Editor.TextSource
- Assembly
- Alternet.Editor.v9.dll
SaveStream(TextWriter)
Saves the text content to the specified stream.
public virtual bool SaveStream(TextWriter writer)
Parameters
writer
TextWriterThe TextWriter object to write text to stream.
Returns
- bool
True is succeed; otherwise false.
SaveStream(TextWriter, IStringExport)
Saves the text content to the specified stream.
public virtual bool SaveStream(TextWriter writer, IStringExport exporter)
Parameters
writer
TextWriterThe TextWriter object to write text to stream.
exporter
IStringExportSpecifies exporter to save content.
Returns
- bool
True is succeed; otherwise false.
SaveStream(Stream)
Saves the text content to the specified stream.
public virtual bool SaveStream(Stream stream)
Parameters
stream
StreamThe Stream object to write the text.
Returns
- bool
True is succeed; otherwise false.
SaveStream(Stream, Encoding)
Saves the text content to the specified stream.
public virtual bool SaveStream(Stream stream, Encoding encoding)
Parameters
stream
StreamThe Stream object to write the text.
encoding
EncodingSpecifies the character encoding to use.
Returns
- bool
True is succeed; otherwise false.
SaveStream(Stream, IStringExport)
Saves the text content to the specified stream.
public virtual bool SaveStream(Stream stream, IStringExport exporter)
Parameters
stream
StreamThe Stream object to write the text.
exporter
IStringExportObject to perform writing.
Returns
- bool
True is succeed; otherwise false.
SaveStream(Stream, IStringExport, Encoding)
Saves the text content to the specified stream.
public virtual bool SaveStream(Stream stream, IStringExport exporter, Encoding encoding)
Parameters
stream
StreamThe Stream object to write the text.
exporter
IStringExportObject to perform writing.
encoding
EncodingSpecifies the character encoding to use.
Returns
- bool
True is succeed; otherwise false.