Table of Contents

Property StreamProvider

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

StreamProvider

Gets the stream provider.

public IPdfStreamProvider StreamProvider { get; }

Property Value

IPdfStreamProvider

The stream provider.

Remarks

The library uses streams while creating, reading, or otherwise manipulating PDF documents. For example, streams are used to store decoded contents of document pages and as the intermediate storage for images.

The number of streams used depends on the PDF document being processed and the way it's being processed.

Streams can be of almost any length from a few bytes to several megabytes.

The library tries to specify the size of the stream beforehand but it's possible for the library to request zero length streams and then increase streams length by writing to the stream.

Streams can be used for a short time or the lifetime of the PDF document.

The library calls Dispose for every stream acquired through the stream provider.

The library disposes any stream provider it creates. Any stream provider passed to the CreateWithStreamProvider(IPdfStreamProvider) won't be disposed.