Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

Community Expert ,
Jan 25, 2023 Jan 25, 2023

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.

@+

TOPICS
JavaScript , PDF forms
369
Translate
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 Expert ,
Jan 25, 2023 Jan 25, 2023
LATEST

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

Translate
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