Acrobat Javascript: How to increase textSize by 1 point

Community Beginner ,
Aug 19, 2022 Aug 19, 2022

Copy link to clipboard

Copied

I can't figure out a simple script to increase the textSize of a Field by 1 point once mouse is down. 

I know how to write a script to change the textSize but can't figure out how to increase the value of the size by 1.

Any help with this would be greatly appreciated. Thanks!

TOPICS
How to , JavaScript

Views

34

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
community guidelines

correct answers 1 Correct answer

Community Expert , Aug 19, 2022 Aug 19, 2022

Use:  += 1

Likes

Translate

Translate
Community Expert ,
Aug 19, 2022 Aug 19, 2022

Copy link to clipboard

Copied

Use:  += 1

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
community guidelines
Community Beginner ,
Aug 19, 2022 Aug 19, 2022

Copy link to clipboard

Copied

Thank you, for your response, im sorry im kind of a newbie, how would I add that to the script?

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
community guidelines
Community Beginner ,
Aug 19, 2022 Aug 19, 2022

Copy link to clipboard

Copied

LATEST

Nevermind, I figured it out!!  THANK YOU!!

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
community guidelines