We are used Aspose.pdf 24.11.0, after fill form field text box, the font size become small when the text length is long, even we have set the font size to 9 in pdf template. We don’t want the aspose to change font size. How can we do it?
image.png (11.6 KB)
@Venus_Huang
You did not attach the document (and the code used). Therefore, I will write hypothetically.
Probably, the input field is set to auto-select the font size.
To check this, you can open the document in Acrobat (I am not sure about other viewers) and see if the font size changes when entering a different number of characters.
If so, you can set a fixed font size for the field:
Field.DefaultAppearance = new DefaultAppearance("Arial", 14, System.Drawing.Color.Blue);