Interface ICreateStreamProvider

Interface ICreateStreamProvider

Namespace: Aspose.Html.IO
Assembly: Aspose.HTML.dll (25.2.0)

Represents an interface that can be implemented by classes providing streams to the rendering devices.

[ComVisible(true)]
public interface ICreateStreamProvider : IDisposable

Implements

IDisposable

Methods

GetStream(string, string)

Provides a stream for rendering.

Stream GetStream(string name, string extension)

Parameters

name string

The name of the stream.

extension string

The file name extension to use if a file stream is being created.

Returns

Stream

A Stream object that is used for writing data during the rendering operations.

GetStream(string, string, int)

Provides a stream for rendering.

Stream GetStream(string name, string extension, int page)

Parameters

name string

The name of the stream.

extension string

The file name extension to use if a file stream is being created.

page int

The page number of the document.

Returns

Stream

A Stream object that is used for writing data during the rendering operations.

ReleaseStream(Stream)

Releases the stream.

void ReleaseStream(Stream stream)

Parameters

stream Stream

The stream being released.