Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Windows 8.1, 10, WindowsPhone, Windows UWP

vZoom not working

More
IP: 192.168.0.71 11 years 7 months ago #8380 by waxwings
vZoom not working was created by waxwings
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.
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?
Code:
public void vZoom(float scale) { if (m_status != PDFV_STATUS.STA_NONE || m_pages == null) return; m_scroller.ZoomToFactor(scale); }
regards
yimei
More
11 years 5 months ago #8751 by waxwings
Replied by waxwings on topic vZoom not working
Anyone taking care of this Forum? My question seems to be ignored :(
More
11 years 5 months ago #8753 by support
Replied by support on topic vZoom not working
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.
More
11 years 5 months ago #8757 by nermeen
Replied by nermeen on topic vZoom not working
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.
Time to create page: 0.403 seconds
Powered by Kunena Forum