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

Free Support Forum - aspose.com

FlattenField doesn't work - using Evaluation version

I’m using the evaluation version and I cannot seem to make filled in text boxes read-only once the PDF is resaved. Here’s my code:

Form form = new Form(“c:/input.pdf”, “c:/output.pdf”);
form.FillField(“TextBox1”, “Sean”);
form.FillField(“TextBox2”, “Nick”);

If I reopen output.pdf in adobe reader, I can edit both the fields. Why doesn’t this work? Also, if I call form.FlattenAllFields(), then both the text boxes end up being blank.

Also, I’m creating input.pdf in Adobe Acrobat 8.0

Dear soconnell,

Thanks for considering Aspose.Pdf.Kit for C#.

In corrent version, FlattenField() and FlattenAllFields() only support document from Adobe 6 and below. Fortunately, this is just under our plan and in the next release the problem will be solved.

Sorry for the inconvenience and best regards.