Scroll position and event in order to synchronize 2 viewers

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

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

jarbuthnot
User
Posts: 1
Joined: Mon Jul 20, 2009 3:23 pm

Scroll position and event in order to synchronize 2 viewers

Post by jarbuthnot »

I have an application that needs to display two PDF viewers side by side displaying two different revisions of a PDF (different form field values). I need to synchronize the scroll positions between these two so that if the user scrolls either, the other displays the same rendering position.

I looked at prototyping this with PDFxChange viewers but do not know if I can get a scroll event notification from the control, or if I can find the current scroll position of each document to synchronize them.

I am looking for an event such as ScrollPositionChanged (or document position changed) that would allow me to then interrogate the current HScollPos and VScrollPos on the instance raising the event and set these same values on the other instance.

Any way to acheive this?
Corwin - Tracker Sup
User
Posts: 664
Joined: Tue Nov 14, 2006 12:23 pm

Re: Scroll position and event in order to synchronize 2 viewers

Post by Corwin - Tracker Sup »

Current realization of Viewer AX doesn’t have any possibility to do this, but we will try to add such features in the future.
Thanks
rmcmanamy
User
Posts: 46
Joined: Thu Jun 23, 2005 1:01 pm

Re: Scroll position and event in order to synchronize 2 viewers

Post by rmcmanamy »

I'll second that this would be extremelly helpful to say the least.
Rodney McManamy
CADzation
AutoCAD to PDF and DWF Solutions
rmcmanamy@cadzation.com
http://www.cadzation.com
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19913
Joined: Mon Jan 12, 2009 8:07 am

Re: Scroll position and event in order to synchronize 2 viewers

Post by Stefan - PDF-XChange »

rmcmanamy,

As Corwin said we will try to add this in future builds, and will keep you posted in this topic

Regards,
Stefan