Is it possible to change the Id property of the pdf document?
We are trying to compare the output of 2 conversion processes using an in some automated tests. Our initial thought is to create a hash of the 2 files and compare them. However, we have noticed that there are 2 sections of information that change.
1) The DocumentInfo in the header. Namely the creation date and modified date. These are easy enough to clear with a call to doc.Info.Clear();
2) The end of the document has the Id.
<</Root 1 0 R/Info 4 0 R/ID[<31382D31342D45452D32442D39432D30><32392D45362D36372D33372D45322D33>]/Size 83>>
Is there an easy way to do this?