Create configuration options initialized with specified stream provider.

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

Syntax

C#
public static PdfConfigurationOptions CreateWithStreamProvider(
	IPdfStreamProvider provider
)
VB
Public Shared Function CreateWithStreamProvider ( 
	provider As IPdfStreamProvider
) As PdfConfigurationOptions

Parameters

provider
Type: BitMiracle.Docotic.Pdf.IPdfStreamProvider
The stream provider to use in this options.

Return Value

Type: PdfConfigurationOptions
The newly created configuration options initialized with specified stream provider.

Remarks

By default the library uses instances of PdfMixedStorageStreamProvider for document stream providers.

In cases when speed is most important and you are not concerned about memory footprint you might want to use instances of PdfMemoryStreamProvider instead.

You are free to create and use any other stream provider.

See Also