How to use PDFDocumentinfo object with Dynamic PDF Viewer
PDF Viewer
Re: PDF Viewer
Support · Apr 12, 2017Hello,
You can retrieve created date, modified date. creator, title author, subject and producer information of a PDF which is opened with the Viewer control using the PDFDocumentInfo object. You can refer to the documentation on PDFDocumentInfo object members here
. Below is the code sample for it.
axDynamicPDFViewer1.OpenFile("Path of an input PDF", string.Empty);
DynamicPDFViewer.PDFDocumentInfo pdfinfo = axDynamicPDFViewer1.DocumentInfo;
string createdDate=pdfinfo.CreatedDate;
string modifiedDate = pdfinfo.ModifiedDate;
string author = pdfinfo.Author;
string creator = pdfinfo.Creator;
string keyword = pdfinfo.Keywords;
string producer = pdfinfo.Producer;
string subject = pdfinfo.Subject;
string title = pdfinfo.Title;
Thanks,
ceTe Software Support Team.