Gets a memory stream with initial capacity not less than specified.

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

Syntax

C#
public Stream GetStream(
	long capacity
)
VB
Public Function GetStream ( 
	capacity As Long
) As Stream

Parameters

capacity
Type: System.Int64
Minimum initial capacity of the stream.

Return Value

Type: Stream
Returns a memory stream with initial capacity not less than specified by the capacity.

Implements

IPdfStreamProvider.GetStream(Int64)

Remarks

Caller of the method is responsible for disposing of the returned stream.

Returned stream is of MemoryStream type.

See Also