Free Support Forum - groupdocs.com

Text Field Font Size


#1

I have a text field that I use during the assembly process. The length of my string varies so the font size on my assembled document is changing on that document in that field. Is there any way to make the length of this field grow with the length of the string so that my contract wont have tiny print that people can not read?


#2

Hi,


Thank you for the request. Unfortunately such option doesn’t available currently. But as a variant you can follow such logic to manipulate the field settings:
<ol style=“margin: 0px 0px 1em 30px; padding: 0px; border: 0px; font-size: 15px; color: rgb(36, 39, 41); font-family: Arial, “Helvetica Neue”, Helvetica, sans-serif; line-height: 19.5px; background-color: rgb(255, 255, 255);”>
  • Get iframe URL content in the server side.

  • You will obtain an iframe which has a domain same than yours, then you will be able to use the $(“iframe”).contents().find(“your field”) to manipulate the content.

  • Best regards.