Method CreateWithMemoryLimit
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
CreateWithMemoryLimit(int)
Creates new instance of the PdfMixedStorageStreamProvider with the specified memory limit.
public static PdfMixedStorageStreamProvider CreateWithMemoryLimit(int memoryLimit)
Parameters
memoryLimit
intThe memory limit value for the stream provider.
Returns
- PdfMixedStorageStreamProvider
Newly created instance of the PdfMixedStorageStreamProvider with the specified memory limit.
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).