Metadata removal on PDF results in blank PDF

Aspose.Pdf for .NET 9.9.0

The attached file, when processed to remove document properties, comes out blank.

If I resave the file as “optimized” using Acrobat Adobe Pro 9 it processes fine.

Can you inspect attached PDF and inform me what is wrong, if this is an issue you can fix, or if this is just a damaged PDF?

<span style=“font-size:12.0pt;font-family:“Times New Roman”,serif;
mso-fareast-font-family:“Times New Roman”;mso-ansi-language:EN-US;mso-fareast-language:
EN-US;mso-bidi-language:AR-SA”>Thanks,
Kristen Theologus
Produce Specialist
BigHand Office

Hi Kristen,


Thanks for contacting support.

I have tested the scenario using Aspose.Pdf for .NET 11.2.0 where I have used following code snippet to remove PDF file information and as per my observations, when viewing the resultant file, the document appears fine. Can you please share the code snippet which you are using, so that we can again test the scenario in our environment. We are sorry for this inconvenience.

[C#]

Aspose.Pdf.Document
document = new Aspose.Pdf.Document(“c:/pdftest/4±+Report+to+the+USPTO.pdf”);<o:p></o:p>

document.Info.Author = "";

document.Info.Title = "";

document.Save(“c:/pdftest/4±+Report+to+the+USPTO_Info_Updated.pdf”);

I believe the developer has resolved this on our end with existing use of Aspose.Pdf 9.9.0.
Case may be closed. Thanks.

Hi,


Thanks for the acknowledgement.

We are glad to hear that your problem is resolved. Please continue using our API’s and in the event of any further query, please feel free to contact.