Open a PDF document from a stream.

Namespace: TallComponents.PDF
Assembly: TallComponents.PDF.Controls.WinForms (in TallComponents.PDF.Controls.WinForms.dll) Version: 2.0.46.0

Syntax

C#
public void Open(
	Stream stream
)
Visual Basic
Public Sub Open ( _
	stream As Stream _
)

Parameters

stream
Type: System.IO..::..Stream
The stream that holds the PDF document.

Remarks

The caller is responsible for setting the read position within the stream correctly. This method is optimized for speed, and will cache some data into memory if the stream does not provide random access and if it is read from a file. If caching does not occur, the stream must be kept open until the document is disposed.

See Also