NullReferenceException is thrown when importing a document with AcroForm referencing a missing object for fields collection. This is a regression as the same document will be imported without a problem in previous versions of RadPdfViewer as the AcroForm object would be entirely skipped.
RadPdfViewer does not read image resources defined in Form XObject elements.
Some files when opened with PdfViewer will throw a KeyNotFoundException which will be handled. Parts of the text in the file might or might not be missing.
The exception is thrown during "Put" operator execution.
Use the attached project to reproduce.
Workaround:
var combo = toolbar.ChildrenOfType<PercentComboBox>().FirstOrDefault();
To reproduce:
- Search for a specific word until the last occurrence is found and a message appears.
- Click the FindPrevious button
Result: A message appears.
Expected: The previous entry is selected.