• 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 handle double click on annotation

Community Beginner ,
Aug 09, 2019 Aug 09, 2019

Copy link to clipboard

Copied

Hi! If we want to handle simple click , we can do

  • Handle mouse clicks in the annotation by using the AVAnnotHandlerDoClickProc callback method.

But if we want to handle double-click , what callback method should I use ?

TOPICS
Acrobat SDK and JavaScript

Views

314

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 , Oct 22, 2019 Oct 22, 2019

Hi,

 

In the Adobe API Reference , page 984:

 

https://www.adobe.com/content/dam/acom/en/devnet/acrobat/pdfs/APIReference.pdf

 

See where it says :

 

 

Parameters:

annotHandler The annotation handler responsible for this annotation.
hitAnnot The annotation in which the mouse was clicked.
pageView The AVPageView in which the annotation is located.
annotHandler The annotation handler responsible for this annotation.
hitAnnot The annotation in which the mouse was clicked.
pageView The AVPageView in which the anno

...

Votes

Translate

Translate
Community Expert ,
Oct 22, 2019 Oct 22, 2019

Copy link to clipboard

Copied

LATEST

Hi,

 

In the Adobe API Reference , page 984:

 

https://www.adobe.com/content/dam/acom/en/devnet/acrobat/pdfs/APIReference.pdf

 

See where it says :

 

 

Parameters:

annotHandler The annotation handler responsible for this annotation.
hitAnnot The annotation in which the mouse was clicked.
pageView The AVPageView in which the annotation is located.
annotHandler The annotation handler responsible for this annotation.
hitAnnot The annotation in which the mouse was clicked.
pageView The AVPageView in which the annotation is located.
xHit The x-coordinate of the mouse click.
yHit The y-coordinate of the mouse click.
flags Indicates which modifier keys are pressed. Must be an OR of the Modifier Keys values. clickNo 1 if this is a single click, 2 if a double click, 3 if triple 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