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
Syntax
public PdfDocument Load()

Return Value

Type: PdfDocument
Instance of PDFDocument class
Exceptions
ExceptionCondition
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
Remarks
The application should maintain the file resources being valid until the PDF document close.
See Also