Simple Viewer - current page gets lost

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

NoSi
User
Posts: 35
Joined: Wed Jun 04, 2008 9:26 am
Location: Germany

Simple Viewer - current page gets lost

Post by NoSi »

Hi,

I am using the simple viewer dll and have some questions regarding the Delphi Example of the Scrollbox:
  • Switching from pagewise to continuous scrolling, the current page is lost; display shows always page 1 of the document. Vice versa current page is kept.
  • Switching in continuous mode the zoom settings, i.e. full page to page width, current page gets lost, returning to full page, it is back - obviously repositioning in continuous mode does not work correctly.
Is there a workaround?

This

Code: Select all

  ThePage := PDFScrollbox.CurrentPage;
  PDFScrollBox.ContinuousPageMode := chkContinuous.Checked;
  PDFScrollbox.GotoPage(ThePage);
does not fix the problem; gotopage is - why-ever - ignored.


I am using Version: 2.5.190 (Updated on 21 Dec, 2010)

Regards,
NoSi
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3550
Joined: Thu Jul 08, 2004 10:36 pm
Location: Vancouver Island - Canada

Re: Simple Viewer - current page gets lost

Post by Ivan - Tracker Software »

This sample was not made by our developers. Please check the top of the files to find information about author and his contact information.
Tracker Software (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.