Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
1

How to find the XY position a Specific Word on PDF Page

New Here ,
Feb 26, 2023 Feb 26, 2023

Dear All,

I use Acrobat Pro for my purpose. I use a small VBA Macro to split a merged pdf document. there is a word/Number (Eg. Invoice Numbers) in a specific place on every split file. I hope to use this word/Number as the file name. 

 

so,  please explain how to find the XY position in a Specific Word on PDF Page using Exel VBA.

 

Thanks,

 

Priyantha.

TOPICS
Create PDFs , Edit and convert PDFs , How to , Scan documents and OCR , Standards and accessibility
1.6K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 26, 2023 Feb 26, 2023

JavaScript has a method that returns the location of each word, but it uses something called quads to define that are.

Read the documentation of getPageNthWordQuads for more details.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 27, 2023 Feb 27, 2023

Sorry, I am not have an idea of JavaScript.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 27, 2023 Feb 27, 2023
LATEST

I'm not sure there's a native VBA command for this, so you should starting learning it...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines