Skip to main content
bebarth
Community Expert
Community Expert
January 25, 2023
Question

All text data to fit in a rich text field’s rectangle

  • January 25, 2023
  • 1 reply
  • 357 views

Hi,

The API reference tells us the range of the text size for a rich text field is 0–32767 and "A text size of zero means to use the largest point size that will allow all text data to fit in the field’s rectangle".

https://opensource.adobe.com/dc-acrobat-sdk-docs/library/jsapiref/JS_API_AcroJS.html#id1019

After several tests, it appears the real range is 4–300 and the Auto size (0) doesn't work.

Could you tell me if I'm wrong!

Thanks.

@+

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
January 25, 2023

You're not wrong, the documentation is (or it's a bug).