Table of Contents

Method Create

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

Create(int, string)

Creates a new instance of the PdfMixedStorageStreamProvider with the specified memory limit and the path to the temporary files folder.

public static PdfMixedStorageStreamProvider Create(int memoryLimit, string tempPath)

Parameters

memoryLimit int

The memory limit value for the stream provider.

tempPath string

The path to the folder where to place temporary files.

Returns

PdfMixedStorageStreamProvider

Newly created instance of the PdfMixedStorageStreamProvider with the specified memory limit and the path.

Remarks

The memory limit value is the maximum number of bytes to be kept in memory by each provided stream (streams with more bytes use disk for their storage).

When needed, the library will create temporary files in the folder specified by the tempPath. The folder must exist.