PdfConfigurationOptions.StreamProvider Property

Gets the stream provider.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)


public IPdfStreamProvider StreamProvider { get; }
Public ReadOnly Property StreamProvider As IPdfStreamProvider

Property Value

Type: IPdfStreamProvider
The stream provider.


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.

See Also