ThumbnailView control scroll issue

If you are a C/C++/C# developer and have any questions about using our products from your application here is the place to post them.
Post Reply
armandsmit
Posts: 1
Joined: Thu Jan 24 2008
Location: South Africa

ThumbnailView control scroll issue

Post by armandsmit » Wed Jun 11 2008

Hi

I'm using a ThumbnailView control in my WinForms app. It's linked to a PDFViewer control via its PDF property. My thumbnails generate correctly and on my ThumbnailView's _PageSelected event I navigate my viewer control by using "pdfViewer.Document.GetPage(e.Page).Activate();"
This works fine and my viewer displays the correct page. The issue I am experiencing though is that as soon as I click a thumbnail the ThumbnailViewer control scroll right back to the top page.
This is an irritating "glitch" when the ThumbnailView control contains a large number of pages.

Am I using the incorrect method to navigate my Viewer, or is there a way to scroll the correct thumbnail back into view?

Thanks in advance.
Armand Smit

Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Re: ThumbnailView control scroll issue

Post by Joan » Fri Jun 13 2008

Dear Armand,

You are using the ThumbnailView's _PageSelected event to set the current page in the PDFViewer. Instead of the ThumbnailView's _PageSelected event please move the code from that event to the event ThumbnailView's _PageActivated instead.
Custom Brand the Amyuni PDF Printer Driver http://www.amyuni.com/en/developer/branding/index.html

Amyuni PDF Converter tested for true PDF performance. View results - http://www.amyuni.com/benchmark

Post Reply