Hi,
We are converting Word docs to PDF using Aspose.Words for .Net version 18.9.0 and Aspose.PDF version 18.9.1 and the following code:
var doc = new Document(input);
doc.UpdateFields();
doc.UpdatePageLayout();
doc.AcceptAllRevisions();
var saveFormat = new PdfSaveOptions
{
OptimizeOutput = true,
ImageCompression = PdfImageCompression.Jpeg,
PreserveFormFields = true,
UpdateFields = true,
SaveFormat = SaveFormat.Pdf
};
doc.Save(output, saveFormat);
Both input and output are of type Stream.
We are seeing an issue with text form fields having a default text. In the generated PDF there is a FORMTEXT showing inside the fillable text field.
The files for this scenario are:
- INPUT file input-text-fields-w-defaults.zip (12.6 KB)
- OUTPUT file input-text-fields-w-defaults.docx.pdf (32.1 KB)
Is this an issue that you are aware of?
Any workarounds are welcome as well.
Thank you!