Table of Contents

Method SaveStream

Namespace
Alternet.Syntax
Assembly
Alternet.Syntax.v9.dll

SaveStream(Stream)

Saves the text content to the given stream with specified exporter.

public virtual bool SaveStream(Stream stream)

Parameters

stream Stream

The Stream object to write the text.

Returns

bool

True is succeed; otherwise false.

SaveStream(Stream, Encoding)

Saves the text content to the given stream with specified exporter.

public virtual bool SaveStream(Stream stream, Encoding encoding)

Parameters

stream Stream

The Stream object to write the text.

encoding Encoding

Specifies the character encoding to use.

Returns

bool

True is succeed; otherwise false.

SaveStream(TextWriter)

Saves the text content to the specified stream.

public virtual bool SaveStream(TextWriter writer)

Parameters

writer TextWriter

The TextWriter object to write text to stream.

Returns

bool

True is succeed; otherwise false.