Go to top of Page X

  • I'm evaluating WPViewPDF for possible use in an application I'm working on. I have two questions:

    1) Is there a reliable way to go to the top of a page?

    2) Is there any way to show only one page at a time, regardless of the zoom factor?

    If I'm positioned on the first page and I call

    viewer.Command(COMPDF_ZoomFullPage);

    then it shows page 1 plus a little bit of page 2 (why does it show ANY of page 2?). Then when I try to go to the next page by calling

    viewer.Command(COMPDF_GotoNext);

    the viewer doesn't change (I guess because part of page 2 is already visible). Then if I execute the same line again, I end up at the top of page 3.

    Is there a reliable workaround to avoid this behavior?

    Thanks in advance.

    -Rich

    • Offizieller Beitrag

    I see - you want to have a page only mode such as AcrobatReader uses optionally. This has not been developed yet since the floating mode is usually better accepted. The concept would make it difficult to implement it in WPViewPDF.
    In PDF all pages can have a different page size, it uses the maximum width and height and a bit extra to calculate the zooming.

    I check what I can do.

    Julian