PdfObject Class

An object of the PDF object model (ISO 32000-2, 7.3).

public abstract class PdfObject

Remarks

Numbers, booleans, names, strings and the null object are immutable. Arrays, dictionaries and streams are mutable and are not thread-safe. An object is linked to the indirect objects of a document only through the PdfReference objects it contains.

The class cannot be derived outside the library.

Properties

NameDescription
KindGets the kind of the object.

Kind

Gets the kind of the object.

public abstract PdfObjectKind Kind { get; }

Property value

PdfObjectKind

Methods

NameDescription
ToString()Returns the PDF syntax of the object. The data of a stream is not included.

ToString()

PdfObject.cs

Returns the PDF syntax of the object. The data of a stream is not included.

public override string ToString()

Returns

string The PDF syntax of the object.