26 January 2010

Quick Test Professional Automation with Adobe PDF Documents - VII

Finding text in a Adobe document

Set myAVDoc = CreateObject("AcroExch.AVDoc")
myAVDoc.Open "C:\TESTPDF.pdf",""
Create object of AVDoc class of the Adobe API

Result  = myAVDoc.FindText "anunay",0,1,1
Call the FindText method of the AVDoc class

Print Result
Prints true if found else false




No comments:

Post a Comment