none
How to obtain ZoomPercent value that reflects ZoomMode setting of PageWidth or FullPage RRS feed

  • Question

  • Hi,
    I am using ReportViewer zoom function to adjust report size. As part of implementing Zoom function I have also implemented +/- 25% function that works partially OK.

    My problem is that if do the following steps:
    a) set ZoomMode to Percent and ZoomPercent to 50%
    b) set ZoomMode to PageWidth
    c) handle 'decrease size by 25%' by setting ZoomMode to Percent and ZoomPercent to ZoomPercent-25%

    In step c) I get the wrong result because ZoomPercent was previously set to 50% so when I subtract 25 from ZoomPercent I get 25 instead of something closer to 125, being PageWidth (~150%)-25.

    So my question is can I somehow get ZoomPercent value that reflects ZoomMode setting of PageWidth or FullPage?

    Thanks,
         Michael

    Friday, February 1, 2008 12:53 PM

Answers

  • The viewer doesn't expose this information.  But I can certainly see how it would be useful and have opened a request to add this to the next version.

    Saturday, February 2, 2008 2:36 AM
    Moderator

All replies