 |
PdfDocumentException Class |
Represents errors that occur during PDF document operations (loading, saving, page
manipulation, security, and rendering).
Inheritance HierarchySystemObject
SystemException
SelectPdf.UniversalPdfDocumentException
Namespace: SelectPdf.UniversalAssembly: SelectPdf.HtmlToPdf.Universal (in SelectPdf.HtmlToPdf.Universal.dll) Version: 26.4
Syntaxpublic class PdfDocumentException : Exception
Public Class PdfDocumentException
Inherits Exception
The PdfDocumentException type exposes the following members.
Constructors
Exampletry
{
PdfDocument document = new PdfDocument("missing.pdf");
}
catch (PdfDocumentException ex)
{
Console.WriteLine("PDF error: " + ex.Message);
}Try
Dim document As New PdfDocument("missing.pdf")
Catch ex As PdfDocumentException
Console.WriteLine("PDF error: " & ex.Message)
End Try
See Also