Scrolling in multipage PDF
Posted: Wed Mar 20, 2013 7:35 pm
Currently evaluating the GdPicture components, looks fine so far, we found an issue about scrolling through a multipage PDF in a natural way (that is: how the user would expect it).
The default behaviour when using the mouse wheel for scrolling seems to be:
scrollbar tracks down to the bottom until end of page, then a page break happens, then scrollbar position is again on top. It means that the feedback of the scrollbar is like being reduced to only one page, even if the PDF has many pages.
Which settings would I have to make, to get what the user would expect (position of scrollbar marker relative to the whole multipage document, not only to the first page)?
*is* there a group of settings or would I have to code my own viewer form, using a custom scrollbar fed by information from .getPageCount() ??
How would I trap the mousewheel events in this case?
thanks,
André
The default behaviour when using the mouse wheel for scrolling seems to be:
scrollbar tracks down to the bottom until end of page, then a page break happens, then scrollbar position is again on top. It means that the feedback of the scrollbar is like being reduced to only one page, even if the PDF has many pages.
Which settings would I have to make, to get what the user would expect (position of scrollbar marker relative to the whole multipage document, not only to the first page)?
*is* there a group of settings or would I have to code my own viewer form, using a custom scrollbar fed by information from .getPageCount() ??
How would I trap the mousewheel events in this case?
thanks,
André