Namespace: PdfSharp.Pdf
Represents the PDF document information dictionary.
public sealed class PdfDocumentInformation : PdfDictionary, System.ICloneable, System.Collections.Generic.IEnumerable`1[[System.Collections.Generic.KeyValuePair`2[[System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[PdfSharp.Pdf.PdfItem, PdfSharp, Version=0.1.3.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Collections.IEnumerable
Inheritance Object → PdfItem → PdfObject → PdfDictionary → PdfDocumentInformation
Implements ICloneable, IEnumerable<KeyValuePair<String, PdfItem>>, IEnumerable
Gets or sets the document’s title.
public string Title { get; set; }
Gets or sets the name of the person who created the document.
public string Author { get; set; }
Gets or sets the name of the subject of the document.
public string Subject { get; set; }
Gets or sets keywords associated with the document.
public string Keywords { get; set; }
Gets or sets the name of the application (for example, MigraDoc) that created the document.
public string Creator { get; set; }
Gets the producer application (for example, PDFsharp).
public string Producer { get; }
Gets or sets the creation date of the document. Breaking Change: If the date is not set in a PDF file DateTime.MinValue is returned.
public DateTime CreationDate { get; set; }
Gets or sets the modification date of the document. Breaking Change: If the date is not set in a PDF file DateTime.MinValue is returned.
public DateTime ModificationDate { get; set; }
Gets the dictionary containing the elements of this dictionary.
public DictionaryElements Elements { get; }
Gets or sets the PDF stream belonging to this dictionary. Returns null if the dictionary has no stream. To create the stream, call the CreateStream function.
public PdfStream Stream { get; set; }
Gets the PdfDocument this object belongs to.
public PdfDocument Owner { get; }
Indicates whether the object is an indirect object.
public bool IsIndirect { get; }
Gets the PdfInternals object of this document, that grants access to some internal structures which are not part of the public interface of PdfDocument.
public PdfObjectInternals Internals { get; }
Gets the indirect reference of this object. If the value is null, this object is a direct object.
public PdfReference Reference { get; internal set; }
Gets the indirect reference of this object. Throws if it is null.
public PdfReference ReferenceNotNull { get; }
InvalidOperationException
The indirect reference must be not null here.
Initializes a new instance of the PdfDocumentInformation class.
public PdfDocumentInformation(PdfDocument document)
document
PdfDocument