How to add multiple annotations to pdf document in box

Community Beginner ,
Jun 12, 2019 Jun 12, 2019

Copy link to clipboard

Copied

Hello , I have the following problem , I wonder , how can I connect annotation to the selected box , I need the following functionality : I create pdf with embedded 3d annotation and then I select the region(area)  in the pdf doc where annotation should be added. I have the following code from samples that sets the box for annotation .How can I add multiple annotations to the page and activate them immediately after selecting region for my annotation.

ASFixedRect annotBox = {ASInt32ToFixed(108), ASInt32ToFixed(612 - 108),

   ASInt32ToFixed(792 - 108), ASInt32ToFixed(108)};

theAnnot = PDPageAddNewAnnot(pdPage, -2, ASAtomFromString("U3D"), &annotBox);

  PDAnnotSetFlags(theAnnot, pdAnnotPrint | pdAnnotReadOnly);

TOPICS
Acrobat SDK and JavaScript

Views

217

Likes

translate

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
Adobe Employee ,
Jun 12, 2019 Jun 12, 2019

Copy link to clipboard

Copied

You can only have a single active annotation at any given time.

Likes

translate

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 Beginner ,
Jun 13, 2019 Jun 13, 2019

Copy link to clipboard

Copied

Thank you for answer ! And what about selecting region where annotation should be added with mouse , and highlight the selected region ( bbox ) in pdf file , so user can see the highlighted bbox with annotation in pdf doc and click on this bbox to activate annotation ?

Likes

translate

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