Hello Support
i want to know what are the best practices to handle the document metadatas in writing new values? I know that is possible with the following code
var docInfo = pdfDoc.GetDocInfo();
docInfo.SetTitle("my title");
docInfo.SetAuthor("my name");
I try this way to overwrite the metadata in a example document (PDF Reference from Adobe) which includes some metadatas. After this i have a problem to view the new settings in different pdf viewers.
In Adobe Acrobat it works fine but in example the PDF X Change Viewer from Tracker Software works in correct. The viewer show the keywords correctly but the author or title were the old values. I try to erase some
metadatas from trailer
pdfDoc.GetTrailer().Erase("Info");
to clear all values but it has no effect on overwriting metadatas.
So the questions is how i can erase some old information's and put on all places in the document the correct metadatas to view correctly in in the most of pdf viewers?
Regards
Daniel