06-03-2013, 09:43 PM
Hi folks,
I am using Dani V.'s code to read the content within a selection area in a PDF.
Now how do I find the Top, Left, Bottom, Right of already selected area in PDF? I am banging my head for so many hours in vain but couldnt figure it out. Any help would be greatly appreciated!!!
I am using Dani V.'s code to read the content within a selection area in a PDF.
Code:
Set acroPDDoc = acroAVDoc.GetPDDoc()
Set acroRect = CreateObject("AcroExch.Rect")
acroRect.Top = 600
acroRect.Left = 25
acroRect.Bottom = 400
acroRect.Right = 185
Set PDTextSelect = acroPDDoc.CreateTextSelect(pageNo, acroRect)
Now how do I find the Top, Left, Bottom, Right of already selected area in PDF? I am banging my head for so many hours in vain but couldnt figure it out. Any help would be greatly appreciated!!!