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

Acrobat Annotation bounding box question, are objects underneath?

New Here ,
Aug 14, 2018 Aug 14, 2018

Copy link to clipboard

Copied

I am trying to figure out if it is possible to detect if any other objects within the document have overlapping bounding boxes. not just annotation objects, which i can get the bounding box of, but lines, text etc, from the original document.

My goal would be to detect and stamp in a region that was unused that fit the stamps bounding box, and thus not overlapping anything. Is this something the OLE or Javascript tools can accomplish?

TOPICS
Acrobat SDK and JavaScript , Windows

Views

301

Translate

Translate

Report

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

correct answers 1 Correct answer

Community Expert , Aug 14, 2018 Aug 14, 2018

What Bernd said but also, you don't want to bother looking for overlapping bounding boxes. Lots of applications do stupid stuff that will yield false positives. Instead, rasterize the page and then use the image to detect areas of white pixels that you can use to determine the location of your stamp.

Votes

Translate

Translate
Community Expert ,
Aug 14, 2018 Aug 14, 2018

Copy link to clipboard

Copied

You can create a plugin (written in C/C++) for this.

Votes

Translate

Translate

Report

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 ,
Aug 14, 2018 Aug 14, 2018

Copy link to clipboard

Copied

LATEST

What Bernd said but also, you don't want to bother looking for overlapping bounding boxes. Lots of applications do stupid stuff that will yield false positives. Instead, rasterize the page and then use the image to detect areas of white pixels that you can use to determine the location of your stamp.

Votes

Translate

Translate

Report

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