Click or drag to resize

PdfDocumentLoad Method (String, PdfLoadOptions)

Loads a PDF document from a file with the specified path and with the specified options.

Namespace:  GemBox.Pdf
Assembly:  GemBox.Pdf (in GemBox.Pdf.dll) Version: 10.0.35.1001
Syntax
public static PdfDocument Load(
	string path,
	PdfLoadOptions options
)

Parameters

path
Type: SystemString
The path to a file 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
ArgumentNullExceptionpath is or options is .
See Also