Click here to Skip to main content
15,894,180 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
0down votefavorite




I have a COM component of class AxAcroPDF which is part of Adobe acrobat 7.0 browser control type library 1.0.

I would like to search text inside the PDF like it would be a String is it possible?

I went through: http://partners.adobe.com/public/developer/en/acrobat/sdk/pdf/iac/IACReference.pdf
public Form1() {
InitializeComponent();
//axAcroPDF1.LoadFile("C:/cw3_31paz.pdf");
axAcroPDF1.src = "C:/cw3_31paz.pdf";
axAcroPDF1.setShowToolbar(false);
axAcroPDF1.setView("FitH");
axAcroPDF1.setLayoutMode("SinglePage");
}

but I don't know how to get access to the text inside directly so I could process it.
Posted
Comments
Harsh Athalye 5-Dec-14 6:06am    
Did you try AcroExch.AVDoc.FindText() method?

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