Set text size to auto using javascript

Community Beginner ,
Mar 10, 2021 Mar 10, 2021

Copy link to clipboard

Copied

Hello!  I just thought I would post this as I have been trying to figure out how to set the text size to auto using javascript.  What finally worked  was setting the text size to ""  Posting it just in case someone else is searching for the same thing.

 

this.getField(fName).textSize = "";

 

TOPICS
JavaScript

Views

56

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
Adobe Community Professional ,
Mar 10, 2021 Mar 10, 2021

Copy link to clipboard

Copied

LATEST

The value of this property is a number. Use the value 0 for Auto.

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