Namespace SoftZenPdf.Objects

Classes

PdfArray

A PDF array: an ordered list of objects. Use Instance for null elements.

PdfBoolean

A PDF boolean: true or false.

PdfDictionary

A PDF dictionary: name keys mapped to objects, kept in insertion order. Setting a key to null or Instance removes it, as in PDF itself.

PdfIndirectObject

An object stored in the file under a number, so that it can be referred to with a PdfReference.

PdfName

A PDF name, such as /Type: an atomic identifier used for dictionary keys and enumerated values. Names compare by value, and strings convert to names implicitly.

PdfNull

The PDF null object. Setting a dictionary entry to it removes the entry.

PdfNumber

A PDF number, integer or real. Reals are written with up to six decimal places.

PdfObject

Base class of the low-level PDF object model (ISO 32000-1 §7.3): booleans, numbers, strings, names, arrays, dictionaries, streams, references and null. Most applications never need these types; they are for inspecting files read with PdfReader or building structures SoftZenPdf has no high-level API for.

PdfReference

An indirect reference (12 0 R) to an object stored elsewhere in the file.

PdfStream

A PDF stream: a dictionary followed by binary data. Streams must be indirect objects; add them with AddObject(PdfObject) and refer to them by their PdfReference.

PdfString

A PDF string: a sequence of bytes, written as a literal (…) or hexadecimal <…> string.