In version 10.2 this exception does not get thrown and the processing still happens. I would not complain, but data past page 3 does not exist.
- Code: Select all
PdfDocument pdf = new(applicationBytes); // this would throw an error if more than 10 pages in version 8.6
var form = pdf.Form as PdfFormWidget;
// version 10.2 will continue to process this
With version 10.2 I no longer see any extracted text past page 3.
If all I do is switch to version 8.6 then the same PDF will have extracted text beyond page 3.
- Code: Select all
PdfTextExtractOptions extractorOptions = new()
{ IsExtractAllText = true };
PdfTextExtractor extractor = new(page);
var extractedText = extractor.ExtractText(extractorOptions);
Am I missing something needed for version 10.2 that was not needed in version 8.6?
Thank you.