Skip to content

PdfNetStack.Objects namespace

View as Markdown

Package: PdfNetStack

PdfArray

A PDF array.

PdfBoolean

A PDF boolean.

PdfDictionary

A PDF dictionary with keys in insertion order. Keys are names without the leading slash. Most PDF dictionaries hold a handful of keys, so lookups are linear until the dictionary grows, then switch to a hash index.

PdfName

A PDF name such as /Type. Bytes map one to one onto chars (Latin-1) after #xx unescaping.

PdfNull

The PDF null object.

PdfNumber

A PDF integer or real. The value is kept as canonical ASCII text so that reals read from a file survive a round trip exactly, with no floating point conversion involved.

PdfObject

Base type of the PDF object model (ISO 32000-1, 7.3): the values a PDF file is made of. Use it to read or change anything the high level API does not cover, through Catalog, Dictionary and Resolve.

PdfReference

A reference to an indirect object. References belong to one document: obtain them from AddObject or from that document’s objects, and resolve them with Resolve.

PdfStream

A PDF stream: a dictionary plus encoded data. Streams are always indirect objects; add new ones with AddObject and refer to the returned reference.

PdfString

A PDF string: a sequence of bytes, which may hold text or binary data.