Click here to Skip to main content
15,897,891 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Anyone can help with how to get a text coordinates?
can this be possible?
because I just wanted a windows form app where the user types a word in a text box, and the app reads existing PDF using iTextSharp, highlights the matched words if found, and saves the PDF with highlighted text. so far i have almost everything done, including the drawing of a yellow rectangle, but what is lacking is how to get the text coordinates of the matched patterns to highlight them.

thanks in advance
Posted
Updated 6-Sep-12 1:09am
v2
Comments
Sergey Alexandrovich Kryukov 6-Sep-12 17:49pm    
What do you mean by "highlighting"? Usually it means selection, something which is not saved but exists only during run time, because this is not a part of document.
--SA
jai_mca 7-Sep-12 0:59am    
highlighting means when i type the text in textbox the text need to focus in pdf

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900