Remove Producer field

Hi,
I was looking into removing Producer field value from pdf documents rendered with Aspose.Words, similarly to how it can be removed in Aspose.Pdf
Is it possible to remove Producer field for documents created with Aspose.Words? Looking at Work with Document Properties in C#|Aspose.Words for .NET and Producer Name in Outputs|Aspose.Words for .NET the information seems mixed - the former says this cannot be done, while the latter says it can. Could you advise please?

@acturisaspose

Can you please specify if you are looking to remove the Producer field from an existing PDF generated by Aspose.Words or from the Word document before conversion?

I am trying to remove the information from a document that I am generating with Aspose words (for reference - tried to access it through BuiltInDocumentProperties on 24.8, 25.3 and 25.5) before saving it to any format, so that the outputs consistently don’t have it, no matter what format they are saved as. The reference to Aspose.Pdf was only meant as an example of the required behavior being available in another Aspose product.

@acturisaspose Do you mean document generator name?

If so, you can use PdfSaveOptions.ExportGeneratorName.

This is exactly what I was looking for, thanks!

1 Like