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

How to implement select area in adobe acrobat using vc++

Explorer ,
Mar 31, 2022 Mar 31, 2022

Hi Team,

how to implement select area like rectangluar selection  in pdf page .

 

[Question moved by moderator]

TOPICS
Acrobat SDK and JavaScript
706
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 ,
Mar 31, 2022 Mar 31, 2022

Try the forum for Acrobat SDK.

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
LEGEND ,
Mar 31, 2022 Mar 31, 2022

Well, there are two parts to this.

1. Implement dragging out a rectangle - typically when your AVTool is selected.

2. Do something with the selection information.

 

There are many possibilities for 2 so let's start there as they range from simple to impossible, for example

- report the size of the selected area in inches - simple

- extract the text in the selected area - complex, as you have to iterate all text and see which of it lies inside the area (and decide what to do about half-characters and half-words).

- use it as a selection in another Acrobat tool like prepare forms (impossible).

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
Explorer ,
Apr 07, 2022 Apr 07, 2022

Hi,

I tried, but i didn't crack this answer.

 

Please help which function will work for rectangle area selection.

 

 

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
LEGEND ,
Apr 07, 2022 Apr 07, 2022
LATEST

I've never done it, but I'd set up an AVTool that responds to mouse clicks and uses AVPageViewDragOutNewRect. You can also use platform SDK (Windows or Mac) to do the selection once your AVTool has received a click.

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