We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Mutliline text field auto size font


We look to have the same problem as PDFNEWNET-39108 but it still exists for us in v11.0

Setting the field text to a value increases the font size to fill the textbox. Typing in the textbox manually results in a much smaller font.
Please see attachments.

Aspose.Pdf.Document doc = new Aspose.Pdf.Document(@"c:\temp\Comp.pdf");

var field = doc.Form.Fields.First(f => f.FullName == "20 If claiming for a physical injury");

field.Value = "Small text";


Hi Phillip,

Thanks for contacting support.

I have tested the scenario and I am able to
notice the same problem. For the sake of correction, I have separately logged this problem
as PDFNEWNET-39968 in our issue tracking system. We will
further look into the details of this problem and will keep you updated on the
status of correction. Please be patient and spare us little time. We are sorry
for this inconvenience.