vZoom not working - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about Windows 8.1, 10, WindowsPhone, Windows UWP
  • Page:
  • 1

TOPIC: vZoom not working

vZoom not working 3 years 9 months ago #8380

  • waxwings
  • waxwings's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
Hi,
i am trying to implement a button for zooming. Somehow it only works for once. The second time i click on the button nothing happens. Here is my code.
public void ZoomIn() {
            if (zoomFactor < 3)
            {
                zoomFactor*=1.2f;
                m_view.vZoom(zoomFactor);
            }
        }
As i debug i find out that the m_status is set to PDF_STATUS.ZOOM after i once zommed. How can i set the status back?
public void vZoom(float scale)
            {
                if (m_status != PDFV_STATUS.STA_NONE || m_pages == null) return;
                m_scroller.ZoomToFactor(scale);
            }
regards
yimei

Please Log in or Create an account to join the conversation.

vZoom not working 3 years 7 months ago #8751

  • waxwings
  • waxwings's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
Anyone taking care of this Forum? My question seems to be ignored :(

Please Log in or Create an account to join the conversation.

vZoom not working 3 years 7 months ago #8753

  • support
  • support's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 571
  • Karma: 6
  • Thank you received: 46
We've had a lot of delay about Windows version support.
I'm pushing your request to my colleagues.

We're really sorry about that.

Please Log in or Create an account to join the conversation.

vZoom not working 3 years 7 months ago #8757

  • nermeen
  • nermeen's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 865
  • Karma: 23
  • Thank you received: 70
Usually the m_view.vZoom only launches the zoom process, the methods that controls the status are ZoomStart and ZoomEnd.

So what you need to do is to make these 2 methods public in PDFView.cs and call them in the appropriate time.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum