Click or drag to resize
Pdf Library for .NET

PdfDocumentInformation Class

Represents the document information properties of a PDF document (title, author, subject, etc.). Accessed through DocumentInformation.
Inheritance Hierarchy
SystemObject
  SelectPdf.UniversalPdfDocumentInformation

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

The PdfDocumentInformation type exposes the following members.

Properties
 NameDescription
Public propertyAuthor Gets or sets the author of the document.
Public propertyCreationDate Gets or sets the creation date of the document.
Public propertyKeywords Gets or sets the keywords associated with the document.
Public propertyLanguage Gets or sets the language of the document.
Public propertyProducer Gets or sets the producer of the document.
Public propertySubject Gets or sets the subject of the document.
Public propertyTitle Gets or sets the title of the document.
Top
Example
PdfDocument document = new PdfDocument();
document.DocumentInformation.Title = "Quarterly Report";
document.DocumentInformation.Author = "Finance Team";
document.DocumentInformation.CreationDate = DateTime.Now;
document.Save("report.pdf");
document.Close();
See Also