Dynamical parameters and invalidate() - 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 Android development and PDF
  • Page:
  • 1
  • 2

TOPIC: Dynamical parameters and invalidate()

add EditText and check box at pdf 2 years 9 months ago #10224

  • ankur123987
  • ankur123987's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Available as freelancer (ex website to app 30min)
  • Posts: 97
  • Thank you received: 0
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

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

Last edit: by ankur123987.

add EditText and check box at pdf 2 years 9 months ago #10225

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Karma: 17
  • Thank you received: 65
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 :
m_reader.invalidate();

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

add EditText and check box at pdf 2 years 9 months ago #10226

  • ankur123987
  • ankur123987's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Available as freelancer (ex website to app 30min)
  • Posts: 97
  • Thank you received: 0
hello Davide ,

i check the OnPDFSingleTapped method its never called . i implement the PDFView.PDFViewListener, please help

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

add EditText and check box at pdf 2 years 9 months ago #10229

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Karma: 17
  • Thank you received: 65

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

add EditText and check box at pdf 2 years 9 months ago #10232

  • ankur123987
  • ankur123987's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Available as freelancer (ex website to app 30min)
  • Posts: 97
  • Thank you received: 0
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

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

add EditText and check box at pdf 2 years 8 months ago #10318

  • gregh530
  • gregh530's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Do you have code sample for this functionality? Thank in advance, Greg

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

  • Page:
  • 1
  • 2
Powered by Kunena Forum