Class ParsingOptions
Configures options used by the parser when reading PDF documents.
public class ParsingOptions
- Inheritance
-
ParsingOptions
- Inherited Members
Constructors
ParsingOptions()
public ParsingOptions()
Properties
ClipPaths
Should the parser apply clipping to paths? Defaults to false.
Bezier curves will be transformed into polylines if clipping is set to true.
public bool ClipPaths { get; set; }
Property Value
LenientParsingOff
A default ParsingOptions with UseLenientParsing set to false.
public static ParsingOptions LenientParsingOff { get; }
Property Value
Logger
The ILog used to record messages raised by the parsing process.
public ILog Logger { get; set; }
Property Value
Password
The password to use to open the document if it is encrypted. If you need to supply multiple passwords to test against you can use Passwords. The value of Password will be included in the list to test against.
public string Password { get; set; }
Property Value
Passwords
All passwords to try when opening this document, will include any values set for Password.
public List<string> Passwords { get; set; }
Property Value
SkipMissingFonts
Skip extracting content where the font could not be found, will result in some letters being skipped/missed but will prevent the library throwing where the source PDF has some corrupted text. Also skips XObjects like forms and images when missing.
public bool SkipMissingFonts { get; set; }
Property Value
UseLenientParsing
Should the parser ignore issues where the document does not conform to the PDF specification?
public bool UseLenientParsing { get; set; }