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

Free Support Forum - aspose.com

PDF Document Info (Creator & Producer)

Hi,

We’ve recently started to port some code from a rival library to use Aspose and have come across an issue which is going to cause problems. The need is to remove all Document Info including the Producer and Creator. Currently Aspose.Pdf will stamp itself into those fields. I have checked the forum and found some other people with the same issue (eg How to Change pdf Info.Creator in generated PDF)

As your documentation indicates (https://docs.aspose.com/pdf/net/pdf-file-metadata/), it is sometimes a requirement to remove details from documents on who made them (in real life scenarios, this includes the Creator/Producer). While it is not in the XML metadata, it is still metadata. Can you advise how it is possible to remove all metadata including the Creator/Producer. I’m sure that other people will have the same requirements.

As mentioned, this is possible using a rival product so it’s not a technical issue but likely a business one. If it is just a business decision and it is not going to be reconsidered (but I do hope you will), please add this restriction into the documentation as it is very confusing and frustrating. Also, please remove the “Set” method for that property as it doesn’t do anything. Writing anything to the fields will get overwritten with the Aspose stamping on save.

Regards,

Hi Gary,


Thanks for contacting support.

Aspose.Pdf for .NET has a limitation and I am afraid you cannot set Producer and Creator information while creating PDF documents. In order to avoid this confusion, I have also requested the development team to mark Producer and Creator properties of DocumentInfo class as read only. For the sake of correction, I have logged it in
our issue tracking system as PDFNEWNET-36047.
We will investigate this issue in details and will keep you updated on the
status of a correction.

Meanwhile, I have also included a note in product documentation regarding this limitation. We are sorry for this confusion and inconvenience.

Thanks Nayyer,

Please keep me informed as I’d rather not have to use another library afterwards just to remove the Creator & Producer information.

Regards,

Hi Gary,


As stated above, we are going to mark Producer and Creator properties as Read Only and I am afraid you might not be able to set the value against these fields. We are sorry for your inconvenience.

Hi Nayyer


Since Aspose.Pdf version 8.7 you made Producer and Creator Readonly.
After Updating to Aspose.Pdf 9.8 (from 5.0) we found that we cannot change the Creator Property (it is always “Aspose Ltd.”)

It is OK for us, if you mark “Producer” as Readonly but we need to modifiy the Creator-Property in our application.

Is there any chance we get Write-Access to the Creator Property in a future version of Aspose.Pdf?

I know PDFNEWNET-36047, but Producer should be enough to identify the used component.
It is a MUST for our application to set the Creator.

Regards
Hans

Hi Hans,


Thanks for contacting support.

I have logged an investigation ticket in our issue tracking system as PDFNEWNET-37924 and have inquired from development team that if we can provide the capability for user to enter information against Creator field. The development team will further look into this requirement and will keep you posted on the status of correction. Please be patient and spare us little time.