Click or drag to resize

PdfDocumentLoad Method (Stream, PdfLoadOptions)

Loads a PDF document from the specified stream and with the specified options.

Namespace:  GemBox.Pdf
Assembly:  GemBox.Pdf (in GemBox.Pdf.dll) Version: 13.0.35.1000
Syntax
public static PdfDocument Load(
	Stream stream,
	PdfLoadOptions options
)

Parameters

stream
Type: System.IOStream
The stream from which to load a PDF document.
options
Type: GemBox.PdfPdfLoadOptions
The options used for loading a PdfDocument from a PDF file.

Return Value

Type: PdfDocument
A loaded PDF document.
Exceptions
ExceptionCondition
ArgumentNullExceptionstream is or options is .
ArgumentExceptionstream is not readable.
See Also