Hi
We are using Aspose.Pdf for .net to create pdf document for signing. We send the document for signing through an external company that has a validation procedure to verify validity for signing.
After we have updated Aspose.Pdf to any version newer than 21.1 our documents does not validate at the external company because it now contains a /DefaultValue element.
Basically the code that we use is:
var stream = new MemoryStream();
//create the pdf
var aNewDocument = new Aspose.Pdf.Document();
aNewDocument.Pages.Insert(1);
aNewDocument.Save(stream);
When saving this stream to disk as a .pdf fil and open it in notepad we see that line 10 contains:
<</Type/Pages/Kids[8 0 R]/Count 1/DefaultValue(GykqNSk/dAoeHHo8NSh6dBQfDnpoa3Ro)>>
when using Aspose.Pdf version 21.2 and newer (the same goes for version 21.7)
and Line 10 contains:
<</Type/Pages/Kids[8 0 R]/Count 1>>
when using Aspose.Pdf version 21.1
so clearly versions newer than 21.1 inserts /DefaultValue(GykqNSk/dAoeHHo8NSh6dBQfDnpoa3Ro)
Could you please change Aspose.Pdf so that this /DefaultValue element is not inserted?
(or provide the means to force Aspose.Pdf to not insert this element)