Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Android development and PDF

Dynamical parameters and invalidate()

More
10 years 7 months ago - 10 years 7 months ago #10224 by ankur123987
thanks david for write the separate function that function is not worked for me as i use PDFLayoutView and VPage class however i modified your code now worked for me i have other query i want to add text on touch event .

similiar as in demo of adding "note" . in currently method i have to pass static parameter for particular area . i want it dynamically

please help one more query invalidate() is not recoznized in activity class so its take some scrolling of pdf for refresh the page . what would solution of it

thanks you
Last edit: 10 years 7 months ago by ankur123987.
More
10 years 7 months ago #10225 by Davide
Hi,
you can place addTextBox in the OnPDFSingleTapped method, pass x and y and change the rect parameters as you want..

To refresh the view please try with :
Code:
m_reader.invalidate();
More
10 years 7 months ago #10226 by ankur123987
hello Davide ,

i check the OnPDFSingleTapped method its never called . i implement the PDFView.PDFViewListener, please help
More
More
10 years 7 months ago #10232 by ankur123987
Hi davide,

I checked the knowledge base post but there is no OnPDFSingleTapped method in PDFReaderListener and PDFLayoutListener interface.. i am implementing PDFView.PDFViewListener . but OnPDFSingleTapped is never called
please help
More
10 years 6 months ago #10318 by gregh530
Do you have code sample for this functionality? Thank in advance, Greg
Time to create page: 0.422 seconds
Powered by Kunena Forum