Click or drag to resize

PdfDocumentLoad(String) Method

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

Namespace: SautinSoft.Pdf
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2024.8.8
Syntax
public static PdfDocument Load(
	string path
)

Parameters

path  String
The path to a file from which to load a PDF document.

Return Value

PdfDocument
A loaded PDF document.
Exceptions
ExceptionCondition
ArgumentNullExceptionpath is null.
InvalidPdfPasswordExceptionPDF file is encrypted and the password is required to load a PDF document. Use Load(String, PdfLoadOptions) method and provide a valid Password.
See Also