Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about iOS development and PDF
  • Page:
  • 1

TOPIC:

Get CGRect position of Selected text on PDF 6 years 3 months ago #13291

  • josgou
  • josgou's Avatar Topic Author
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 8
  • Thank you received: 0
hi,

how can we get CGRect of the selected text from pdf..

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

Get CGRect position of Selected text on PDF 6 years 3 months ago #13293

  • federico
  • federico's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 261
  • Thank you received: 18
Hi,
You could take a look in vSelGetText method in PDFView class, here is the code that you are looking for:
struct PDFV_POS pos;
[m_view vGetPos:&pos : m_tx: m_ty]; //get CGRect of selected text

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

  • Page:
  • 1
Powered by Kunena Forum