Configure the Session
You can configure the behavior of File Content Extraction by setting optional configuration options through the Config()
method of the Session
object. The following example enables logical ordering for PDF files:
Copy
session.Config().PdfLogicalReading(LogicalPDFDirection.automatic);
The Config()
method returns a reference to the active configuration, so you can also chain configuration options:
Copy
session.Config().HiddenText(true).HeaderAndFooter(true);