InvalidPdfContentException Class
Thrown when a document is malformed, inconsistent or truncated beyond what the reader can recover.
public sealed class InvalidPdfContentException : PdfException- Inheritance
PdfExceptionInvalidPdfContentException
Constructors
| Name | Description |
|---|---|
| InvalidPdfContentException() | Initializes a new instance of the InvalidPdfContentException class. |
| InvalidPdfContentException(string?) | Initializes a new instance of the InvalidPdfContentException class with a message. |
| InvalidPdfContentException(string?, Exception?) | Initializes a new instance of the InvalidPdfContentException class with a message and the exception that caused it. |
InvalidPdfContentException overloads
InvalidPdfContentException()
InvalidPdfContentException.csInitializes a new instance of the InvalidPdfContentException class.
public InvalidPdfContentException()InvalidPdfContentException(string?)
InvalidPdfContentException.csInitializes a new instance of the InvalidPdfContentException class with a message.
public InvalidPdfContentException(string? message)Parameters
messagestring?- The message that describes the error.
InvalidPdfContentException(string?, Exception?)
InvalidPdfContentException.csInitializes a new instance of the InvalidPdfContentException class with a message and the exception that caused it.
Parameters
messagestring?- The message that describes the error.
innerExceptionException?- The exception that caused the error.