PDF returned values not consistent with actual document property


We are using Aspose.PDF.dll for Dot Net version 17.9 to read metadata information from PDF files. But some how the value returned by Aspose is not consistent with the document property in Properties window.

Mismatch fields are Title and Producer fields in PDF.

Please help us to get the correct filed values. Attached the same files for your reference.


031505 Professional Services Agreement for Parking Citation Processing thru Data Ticket Attachment 1.pdf (78.8 KB)
LEAR.PDF (283.4 KB)


Thanks for contacting support.

Please note that it is always recommended to use latest version of the API - as it contains more fixes and enhancements. We have tested the scenario in our environment while using Aspose.PDF for .NET 18.5 and were unable to notice mismatch output than the original. For your reference, we have also attached screenshots of console outputs along with code snippet:

Document pdfDocument = new Document(dataDir + "LEAR.pdf");
// Get document information
DocumentInfo docInfo = pdfDocument.Info;
// Show document information
Console.WriteLine("Author: {0}", docInfo.Author);
Console.WriteLine("Producer: {0}", docInfo.Producer);
Console.WriteLine("Creation Date: {0}", docInfo.CreationDate);
Console.WriteLine("Keywords: {0}", docInfo.Keywords);
Console.WriteLine("Modify Date: {0}", docInfo.ModDate);
Console.WriteLine("Subject: {0}", docInfo.Subject);
Console.WriteLine("Title: {0}", docInfo.Title);

LEAR.png (13.6 KB)
Professional…png (16.8 KB)

Please try again with latest version of the API and in case you still face any issue, please feel free to let us know.

Thank you. I will try it in latest version and get back to you if I need any other clarifications.


Thanks for your feedback.

Please take your time to test the scenario with latest version and let us know in case you face any issue. We will proceed further to assist you accordingly.