0

Codewindows imageI have a windows form in VB.net having the following tools

  1. Adobe pdf Reader(AxAcroPDF)
  2. A Text box
  3. Two Buttons

On Clicking the first button ,the pdf file selected using Open dialog box will appear on AxAcroPDF. I Want to SELECT a desired text from the pdf shown and then to display this text to the text box(Copy & Paste Method) on the click event of the second button. I cannot find the AxAcroPDF.Selectedtext property.I searched a lot and also tried to use iTextSharp to accomplish it.But failed. Please Help !

SAJITH
  • 11
  • 4
  • I don't have the answer for your specific question but I have a code that extracts the entire text from a pdf if you want. – UserNam3 Sep 13 '22 at 07:21
  • I actualy want to copy the selected text from the pdf – SAJITH Sep 13 '22 at 07:31
  • Consider adding some images to your post that illustrate what you're describing. Also, provide a [minimal, reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) which shows what you've already tried. – Tu deschizi eu inchid Sep 18 '22 at 18:07
  • I have added the image of window and code to the post .Please note and check. The portion of the code to be worked strText = PdfTextExtractor.Clipboard(reader2, 2, its) is not working – SAJITH Sep 19 '22 at 08:46

0 Answers0