Click or drag to resize
Pdf Library for .NET

DocumentInformation Class

PDF document information returned by the PDF tools (DocumentInformation).
Inheritance Hierarchy
SystemObject
  SelectPdf.UniversalDocumentInformation

Namespace: SelectPdf.Universal
Assembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.4
Syntax
public class DocumentInformation

The DocumentInformation type exposes the following members.

Constructors
 NameDescription
Public methodDocumentInformation 
Top
Properties
 NameDescription
Public propertyAuthorThe document author.
Public propertyCreationDateThe document creation date (raw PDF date string).
Public propertyCreatorThe document creator.
Public propertyKeywordsThe document keywords.
Public propertyLastModifiedDateThe document last-modified date (raw PDF date string).
Public propertyPageCountThe number of pages in the document.
Public propertyProducerThe document producer.
Public propertySubjectThe document subject.
Public propertyTitleThe document title.
Top
Example
PdfToText tool = new PdfToText();
tool.Load("document.pdf");
DocumentInformation info = tool.GetInfo();
System.Console.WriteLine(info.Title + " - " + info.PageCount + " pages");
tool.Close();
See Also