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

Free Support Forum - aspose.com

Remove or change PDF producer in PDF document

When saving a document to PDF using this statement:

doc.Save(output, Aspose.Words.SaveFormat.Pdf);

the producer name in the PDF output is set to: Aspose.Words for .NET 14.11.0.0

We don’t want to include this kind of information in our files.

Setting the companyname in the document properties doesn’t make a difference
doc.BuiltInDocumentProperties.Company = “our company name”;

How can we change or remove the producer value in the PDF file without using other libraries or tools?

Thanks in advance

Martin

Hi Martin,

Thanks for your inquiry. I am afraid there is no APIs to change the producer property of output Pdf file.

Please let us know if you have any more queries.

Hi Martin,

Further to my last post, I have logged a feature request as WORDSNET-11160 in our issue tracking system to update producer information of Pdf file. You will be notified via this forum thread once this feature is available.

We apologize for your inconvenience.

Hi Martin,

Thanks for your patience. It
is to update you that our company policy does not allow to update producer property in output Pdf file. So we have closed WORDSNET-11160 with ‘Won’t Fix’ resolution. However, we offer you following solution. Hope this helps you.

We output two fields in output Pdf file 1) Creator and 2) Producer. The Producer field is set to “generator name” which is “Aspose.Words for .NET x.y”. This should stay as it is and you cannot change it. But you can set the Creator field using Document.BuiltInDocumentProperties.NameOfApplication property.

Please let us know if you have any more queries.