Click or drag to resize

PdfCustomLoaderLoad Method

Open and load a PDF document from a file.

Namespace:  Patagames.Pdf.Net
Assemblies:   Patagames.Pdf.Xamarin.iOS (in Patagames.Pdf.Xamarin.iOS.dll) Version: 4.81.2704
  Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.81.2704
public PdfDocument Load()

Return Value

Type: PdfDocument
Instance of PDFDocument class
UnknownErrorExceptionunknown error
PdfFileNotFoundExceptionfile not found or could not be opened
BadFormatExceptionfile not in PDF format or corrupted
InvalidPasswordExceptionpassword required or incorrect password
UnsupportedSecuritySchemeExceptionunsupported security scheme
PdfiumExceptionError occured in PDFium. See ErrorCode for detail
The application should maintain the file resources being valid until the PDF document close.
See Also