11-20-2017, 10:00 PM
Code:
Print oPDF.GetPdfText ("D:\POC\sample.pdf", 1,2)
I hope this solution works for you. I have not tried it myself but found several examples and this appears to be the syntax. Also I think some types of PDFs have protection turned on and may not return any text or partial text if this is the case.
In your example:
detailvalue = oPDF.GetPdfText ("D:\POC\sample.pdf", 1,2)