Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about iOS development and PDF

Get CGRect position of Selected text on PDF

More
IP: 192.168.0.71 8 years 2 months ago #13291 by josgou
hi,

how can we get CGRect of the selected text from pdf..
More
IP: 192.168.0.71 8 years 2 months ago #13293 by federico
Hi,
You could take a look in vSelGetText method in PDFView class, here is the code that you are looking for:
Code:
struct PDFV_POS pos; [m_view vGetPos:&pos : m_tx: m_ty]; //get CGRect of selected text
Time to create page: 0.526 seconds
Powered by Kunena Forum