RadaeePDF.com :: Topic: Get CGRect position of Selected text on PDF (1/1)
Welcome, Guest
Username: Password: Remember me

Signin/Signup with:

Questions about iOS development and PDF

TOPIC: Get CGRect position of Selected text on PDF

Get CGRect position of Selected text on PDF 2 weeks 4 days ago #13291

  • josgou
  • josgou's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
  • Karma: 0
hi,

how can we get CGRect of the selected text from pdf..
The administrator has disabled public write access.

Get CGRect position of Selected text on PDF 2 weeks 3 days ago #13293

  • federico
  • federico's Avatar
  • OFFLINE
  • Moderator
  • Posts: 10
  • Karma: 0
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
The administrator has disabled public write access.
Powered by Kunena Forum