Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PDF Automation
#1
Solved: 10 Years, 9 Months, 2 Weeks ago
Hi folks,

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!!!
Reply


Messages In This Thread
PDF Automation - by vijayendra.shukla - 06-03-2013, 09:43 PM
RE: PDF Automation - by basanth27 - 06-04-2013, 07:15 AM
RE: PDF Automation - by vinod123 - 06-04-2013, 12:49 PM
RE: PDF Automation - by vijayendra.shukla - 06-04-2013, 09:04 PM
RE: PDF Automation - by basanth27 - 06-05-2013, 06:46 AM
RE: PDF Automation - by Staff - 07-05-2013, 02:06 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to find and change text in PDF document using QTP UFT automation VBscript alexwhite 0 11,919 02-18-2017, 04:20 AM
Last Post: alexwhite
  .pdf file automation umeshganti 2 5,778 04-23-2008, 10:05 AM
Last Post: umeshganti

Forum Jump:


Users browsing this thread: 1 Guest(s)