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

Free Support Forum - aspose.com

PDF form to simple PDF file

Hi,

When I try to save a PDF form to a simple PDF file after using FlattenAllFields(), I get the error "Aspose does not support Field flattening in append mode" when I call Save().

My code looks like this:

MemoryStream outStream = new MemoryStream();

Form form = new Form();

form.SrcStream = memoryStream; // Stream containing the PDF form

form.DestStream = outStream;

form.FlattenAllFields();

form.Save();

I am using Aspose.Pdf.Kit.dll ver. 5.4 and it is a licensed version. The PDF form file is attached.

Hope you can help solving the issue.

Regards,

Christian

Hi Christian,

I have reproduced this problem at my end and logged it as PDFKITNET-25131 in our issue tracking system. Our team will look into this issue and you’ll be updated via this forum thread once it is resolved.

We’re sorry for the inconvenience.
Regards,

Hi Shahzad

Do you know if there is a work around to this issue?

Regards,

Christian

Hi Christian,

I’m sorry to inform you that we’re unable to share any workaround for this issue at the moment. I’m afraid, you’ll have to wait for the fix of this issue.

We’re sorry for the inconvenience.
Regards,

Shahzad,
Any word on this fix? This is an issues we’re interested in seeing a resolution to quickly.

thanks


1 var license = new License();
2 license.SetLicense(@"{license_file}");
3
4 var form = new Form(this.inputPdf, this.outputStream);
5 form.ImportXml(xmlStream);
6
7 if (flattenFields) form.FlattenAllFields();
8
9 form.Save();//// <== throws Aspose.Pdf.Kit.PdfKitErrorCodeException

Aspose throws “Aspose does not support Field flattening in append mode.” on line 9

Hi Richard,

I’m sorry to inform you that this issue is not yet resolved. However, if you could share your sample PDF file with us, we’ll be able to consider your particular scenario as well.

We’re sorry for the inconvenience.
Regards,


Hi Richard,



Our team had looked into the issue logged as PDFKITNET-25131 and I would
like to share with you that the fix for this issue will be available at
the end of July or early August 2011. You’ll be notified via this forum
thread as soon as it is resolved.



We’re sorry for the inconvenience and appreciate your cooperation.

Regards,

The issues you have found earlier (filed as 25131) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.