pvginkel / PdfiumViewer

PDF viewer based on Google's PDFium.
Apache License 2.0
967 stars 418 forks source link

GetInformation feature #80

Closed jay-hill closed 7 years ago

jay-hill commented 8 years ago

Adds feature which reads metadata from the document information dictionary. The PdfDocument class contains a new GetInformation method which returns a PdfInformation class. This class contains details about the Pdf such as author, title, subject, create date, etc. Also added a code to the example GUI which displays all of the information extracted from the PDF (select Information under the Tools menu).

pvginkel commented 7 years ago

FPDF_GetMetaText returned a \0 character which is now stripped and I've merged the changes back into the project.