Class PdfCatalog
Represents the PDF catalog dictionary.
public sealed class PdfCatalog : PdfDictionary
- Inheritance
-
objectPdfCatalog
- Inherited Members
- Extension Methods
Constructors
- PdfCatalog(PdfDocument)
Initializes a new instance of the PdfCatalog class.
Properties
- AcroForm
Gets the interactive form (AcroForm) dictionary of this document.
- Destinations
Gets the named destinations defined in the Catalog.
- HasAcroForm
Gets a value indicating whether the document has a /AcroForm dictionary.
- HasDestinations
Gets a value indicating whether the document has a /Dests dictionary.
- HasMetadata
Gets a value indicating whether the document has a /Metadata dictionary.
- HasNames
Gets a value indicating whether the document has a /Names dictionary.
- Language
Gets or sets the language identifier specifying the natural language for all text in the document. Sample values are 'en-US' for 'English United States' or 'de-DE' for 'Deutsch Deutschland' (i.e. 'German Germany').
- Metadata
Gets the metadata dictionary of this document. An empty dictionary is created if it does not exist.
- Names
Gets the /Names dictionary of this document. An empty dictionary is created if it does not exist.
- Pages
Gets the page tree root of this document. // TODO flat or not
- Version
Get or sets the version of the PDF specification to which the document conforms.
Methods
- GetAcroForm()
Gets the acro form dictionary of this document. Returns null if it does not exist.
- GetDestinations()
Gets the named destinations dictionary of this document. Returns null if it does not exist.
- GetMetadata()
Gets the metadata dictionary of this document. Returns null if it does not exist.
- GetNames()
Gets the /Names dictionary of this document. Returns null if it does not exist.
- GetOrCreateAcroForm()
Gets the acro form dictionary of this document. It is created if it does not exist.
- GetOrCreateMetadata()
Gets the metadata dictionary of this document. It is created if it does not exist.
- GetOrCreateNames()
Gets the /Names dictionary of this document. It is created if it does not exist.
- GetRequiredDestinations()
Gets the named destinations dictionary of this document. It is created if it does not exist.