PdfMixedStorageStreamProvider.CreateWithMemoryLimit Method

Creates new instance of the PdfMixedStorageStreamProvider with the specified memory limit.

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

Syntax

C#
public static PdfMixedStorageStreamProvider CreateWithMemoryLimit(
	int memoryLimit
)
VB
Public Shared Function CreateWithMemoryLimit ( 
	memoryLimit As Integer
) As PdfMixedStorageStreamProvider

Parameters

memoryLimit
Type: System.Int32
The memory limit value for the stream provider.

Return Value

Type: 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).

See Also