Recognise mouse down/up event in pdf

New Here ,
Jan 25, 2020

Copy link to clipboard

Copied

Hi

 

Is it possible to recognize mouse up event by clicking anywhere on pdf .

Thanks

Most Valuable Participant
Correct answer by try67 | Most Valuable Participant

No, only if that click is on top of a form field or link. You can create a transparent button field that covers the entire surface of a page, though...

TOPICS
Acrobat SDK and JavaScript

Views

74

Likes

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

Recognise mouse down/up event in pdf

New Here ,
Jan 25, 2020

Copy link to clipboard

Copied

Hi

 

Is it possible to recognize mouse up event by clicking anywhere on pdf .

Thanks

Most Valuable Participant
Correct answer by try67 | Most Valuable Participant

No, only if that click is on top of a form field or link. You can create a transparent button field that covers the entire surface of a page, though...

TOPICS
Acrobat SDK and JavaScript

Views

75

Likes

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
Jan 25, 2020 0
Most Valuable Participant ,
Jan 25, 2020

Copy link to clipboard

Copied

No, only if that click is on top of a form field or link. You can create a transparent button field that covers the entire surface of a page, though...

Likes

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
Reply
Loading...
Jan 25, 2020 0
New Here ,
Mar 18, 2020

Copy link to clipboard

Copied

Hi

Is to possible to assign image to form field button using hex code

Likes

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
Reply
Loading...
Mar 18, 2020 0
Most Valuable Participant ,
Mar 18, 2020

Copy link to clipboard

Copied

Yes, but it's quite complex.

Likes

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
Reply
Loading...
Mar 18, 2020 0
Adobe Community Professional ,
Mar 18, 2020

Copy link to clipboard

Copied

Unfortunately, the image data needed for a form field button is different from the raw hex image data used on toolbar buttons and dialogs in Acrobat. But there is a way to create custom image data for button.

See the "2D Matrix Calculator" example here:

https://www.pdfscripting.com/public/Free-Sample-PDF-Files-with-scripts.cfm

   

 

Likes

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
Reply
Loading...
Mar 18, 2020 0