Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Planned SDK features
  • Page:
  • 1

TOPIC:

Select Text with out LongPress on Pdf 6 years 6 months ago #12943

  • josgou
  • josgou's Avatar Topic Author
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 8
  • Thank you received: 0
How to Enable and Disable Text Selection without Longpress on Pdf with a custom button action and should able to select text and highlight with another button.

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

Last edit: by josgou.

Select Text with out LongPress on Pdf 6 years 6 months ago #12948

  • emanuele
  • emanuele's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 580
  • Thank you received: 67
The demo project implements the text selection into OnLongPressed method in RDPDFViewController, but you can move the code into your custom button.
The code is simply:
[m_view vSelStart];//start to select
m_bSel = true;
To exit from text selection mode, you can call:
m_bSel = false;
[m_view vSelEnd];

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

  • Page:
  • 1
Powered by Kunena Forum