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

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

Explorer ,
Mar 31, 2022 Mar 31, 2022

Copy link to clipboard

Copied

Hi Team,

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

 

[Question moved by moderator]

TOPICS
Acrobat SDK and JavaScript

Views

277

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

Copy link to clipboard

Copied

Try the forum for Acrobat SDK.

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

Copy link to clipboard

Copied

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).

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

Copy link to clipboard

Copied

Hi,

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

 

Please help which function will work for rectangle area selection.

 

 

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

Copy link to clipboard

Copied

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.

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