Class PdfParseException
- Namespace
- MiPdf
- Assembly
- MiPdf.dll
Raised when a PDF file cannot be parsed.
public class PdfParseException : PdfException, ISerializable
- Inheritance
-
PdfParseException
- Implements
- Inherited Members
Constructors
PdfParseException(string, long)
Creates a parse exception; a non-negative position is appended to the message.
public PdfParseException(string message, long position = -1)
Parameters
messagestringThe error message.
positionlongThe byte offset in the file where the error occurred, or -1 if unknown.
Properties
Position
The byte offset in the file where the error occurred, or -1 if unknown.
public long Position { get; }