Hello,
I have just built a simple PDF viewer in a .NET Forms application.
In the first version of the program, the form did only contain a PdfDocumentViewer element. Loading a PDF file into this control displayed the contents of the PDF file in the control. Everything okay.
In the second version, I have added a second control, a PdfDocumentThumbnail and habe linked this to the PdfDocumentViewer control via it's "Viewer" property.
Upon loading the PDF file into the PdfDocumentViewer control, the PdfDocumentThumbnail control shows as many icons as there are pages in the sample PDF file, but all the preview icons are blank. Moreover, the pages displayed in the PdfDocumentViewer control are also just blank pages. The contents which has been displayed correctly in the first version of the program is all gone.
Is there anything that can be done to rod of this strange behaviour or do you have any code snippet that's working correctly?
Regards,
Axel Weidner