Facing following issues with the licensed Aspose.PDF. Using 220.127.116.11 Version.
1. When filling a string “0000” into a PDF field, it is taking as “0”. I need “0000” to be saved.
pdfForm.FillField(“input”, “0000”); // Not working as expected.
2. The input text is getting saved in different formats in the PDF for different types of fields (TextBox, Comb Fields). No Consistency. Is this expected?
3. Following Code is not working. The DecorateField() is not setting the Custom font settings to all the fields.
FormEditor form1 = new FormEditor();
FormFieldFacade facade = new FormFieldFacade();
form1.Facade = facade;
MemoryStream decoratedStream = new MemoryStream();
facade.CustomFont = “Arial”;
facade.FontSize = 9;
Note: form1.DecorateField(“SampleField”); is working and able to manipulate the fontsize for a particular field. I tried for “All FieldTypes”.
4. There is a multiline-TextField in my PDF template.
i) When a single line is passed, Aspose.PDF is saving it in large font and the text is trying to fit the whole textBox. Tried below code to explicitly turnoff AutoFit. Not worked.
ii) When the text is multiline, Aspose.PDF is auto-resizing the font and saving it.
I want to reduce the size in first scenario. (If I fix size using Point 3, then auto-resize is not occurring as size is fixed, Which I don’t want)
Please respond asap. Thanks.