New Forum | Previous | Next | (P-PDF) Developers
Topic: Get Actual position in a PDF
Conf: (P-PDF) Developers, Msg: 38458
Date: 4/12/2002 03:56 AM
I am trying to retrieve the co-ordinates of text that is selected as a
result of using the OLE method 'AcroAVDoc1.FindText'.
I have used the following syntax to create objects:
Set AcroApp1 = CreateObject("AcroExch.App")
Set AcroAVDoc1 = CreateObject("AcroExch.AVDoc")
Set AcroPDDoc1 = CreateObject("AcroExch.PDDoc")
but can't seem to declare the PDTextSelect Object the same way, and
even if it did work, I'm not sure how to get it return the co-ordinates
of the text that is already selected.
I can see that the text I want is found and selected, by calling
'AcroApp1.Show', but just can't get those co-ordinates, which I want to
use to create a link.
Thanks in advance