Table of Contents

Namespace PdfSharp.Pdf

Classes

ArrayOrSingleItemHelper

Provides methods to handle keys that may contain a PdfArray or a single PdfItem.

KeysBase

Base class for all dictionary Keys classes.

PdfArray

Represents a PDF array object.

PdfArray.ArrayElements

Represents the elements of an PdfArray.

PdfBoolean

Represents a direct boolean value.

PdfBooleanObject

Represents an indirect boolean value. This type is not used by PDFsharp. If it is imported from an external PDF file, the value is converted into a direct object.

PdfCustomValue

This class is intended for empira internal use only and may change or drop in future releases.

PdfCustomValues

This class is intended for empira internal use only and may change or drop in future releases.

PdfDate

Represents a direct date value.

PdfDictionary

Represents a PDF dictionary object.

PdfDictionary.DictionaryElements

Represents the interface to the elements of a PDF dictionary.

PdfDictionary.PdfStream

The PDF stream objects.

PdfDictionary.PdfStream.Keys

Common keys for all streams.

PdfDocument

Represents a PDF document.

PdfDocumentInformation

Represents the PDF document information dictionary.

PdfDocumentOptions

Holds information how to handle the document when it is saved as PDF stream.

PdfDocumentSettings

Holds PDF specific information of the document.

PdfInteger

Represents a direct 32-bit signed integer value.

PdfIntegerObject

Represents an indirect 32-bit signed integer value. This type is not used by PDFsharp. If it is imported from an external PDF file, the value is converted into a direct object.

PdfItem

The base class of all PDF objects and simple PDF types.

PdfLiteral

Represents text that is written 'as it is' into the PDF stream. This class can lead to invalid PDF files. E.g. strings in a literal are not encrypted when the document is saved with a password.

PdfLongInteger

Represents a direct 64-bit signed integer value.

PdfLongIntegerObject

Represents an indirect 64-bit signed integer value. This type is not used by PDFsharp. If it is imported from an external PDF file, the value is converted into a direct object.

PdfMetadata

Represents an XML Metadata stream.

PdfName

Represents a PDF name value.

PdfName.PdfXNameComparer

Implements a comparer that compares PdfName objects.

PdfNameObject

Represents an indirect name value. This type is not used by PDFsharp. If it is imported from an external PDF file, the value is converted into a direct object. Acrobat sometime uses indirect names to save space, because an indirect reference to a name may be shorter than a long name.

PdfNameTreeNode

Represents a name tree node.

PdfNull

Represents an indirect reference that is not in the cross-reference table.

PdfNullObject

Represents an indirect null value. This type is not used by PDFsharp, but at least one tool from Adobe creates PDF files with a null object.

PdfNumber

Base class for direct number values (not yet used, maybe superfluous).

PdfNumberObject

Base class for indirect number values (not yet used, maybe superfluous).

PdfNumberTreeNode

Represents a number tree node.

PdfObject

Base class of all composite PDF objects.

PdfOutline

Represents an outline item in the outlines tree. An 'outline' is also known as a 'bookmark'.

PdfOutlineCollection

Represents a collection of outlines.

PdfPage

Represents a page in a PDF document.

PdfPages

Represents the pages of the document.

PdfReal

Represents a direct real value.

PdfRealObject

Represents an indirect real value. This type is not used by PDFsharp. If it is imported from an external PDF file, the value is converted into a direct object.

PdfRectangle

Represents a PDF rectangle value, that is internally an array with 4 real values.

PdfString

Represents a direct text string value.

PdfStringObject

Represents an indirect text string value. This type is not used by PDFsharp. If it is imported from an external PDF file, the value is converted into a direct object.

PdfUInteger

Represents a direct 32-bit unsigned integer value.

PdfUIntegerObject

Represents an indirect 32-bit unsigned integer value. This type is not used by PDFsharp. If it is imported from an external PDF file, the value is converted into a direct object.

PdfViewerPreferences

Represents the PDF document viewer preferences dictionary.

TrimMargins

Represents trim margins added to the page.

Structs

PdfObjectID

Represents a PDF object identifier, a pair of object and generation number.

Enums

PdfColorMode

Specifies what color model is used in a PDF document.

PdfCustomValueCompressionMode

This class is undocumented and may change or drop in future releases.

PdfFlateEncodeMode

Sets the mode for the Deflater (FlateEncoder).

PdfFontEmbedding

Specifies the embedding options of an XFont when converted into PDF. Font embedding is not optional anymore. So Always is the only option.

PdfFontEncoding

Specifies the encoding schema used for an XFont when converting into PDF.

PdfOutlineStyle

Specifies the font style for the outline (bookmark) text.

PdfPageDestinationType

Specifies the type of a page destination in outline items, annotations, or actions.

PdfPageLayout

Specifies the page layout to be used by a viewer when the document is opened.

PdfPageMode

Specifies how the document should be displayed by a viewer when opened.

PdfReadingDirection

Specifies how the document should be displayed by a viewer when opened.

PdfStringEncoding

Determines the encoding of a PdfString or PdfStringObject.

PdfTextStringEncoding

Specifies how text strings are encoded. A text string is any text used outside of a page content stream, e.g. document information, outline text, annotation text etc.

PdfUseFlateDecoderForJpegImages

Specifies whether to compress JPEG images with the FlateDecode filter.

VCF

Value creation flags. Specifies whether and how a value that does not exist is created.