Click or drag to resize

IndirectObjectTypes Enumeration

The following enumerator describe each object type, as well as how to create and refer to indirect objects.

Namespace:  Patagames.Pdf.Enums
Assembly:  Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.89.2704
public enum IndirectObjectTypes
  Member nameValueDescription
Invalid0 Unknown object type
Boolean1 PDF provides boolean objects identified by the keywords true and false. Boolean objects can be used as the values of array elements and dictionary entries, and can also occur in PostScript calculator functions as the results of boolean and relational operators and as operands to the conditional operators if and ifelse.
Number2 PDF provides two types of numeric objects: integer and real. Integer objects represent mathematical integers within a certain interval centered at 0. Real objects approximate mathematical real numbers, but with limited range and precision;
String3 A string object consists of a series of bytes—unsigned integer values in the range 0 to 255.
Name4 A name object is an atomic symbol uniquely defined by a sequence of characters. Uniquely defined means that any two name objects made up of the same sequence of characters are identically the same object. Atomic means that a name has no internal structure; although it is defined by a sequence of characters, those characters are not considered elements of the name.
Array5 An array object is a one-dimensional collection of objects arranged sequentially. Unlike arrays in many other computer languages, PDF arrays may be heterogeneous; that is, an array’s elements may be any combination of numbers, strings, dictionaries, or any other objects, including other arrays.
Dictionary6 A dictionary object is an associative table containing pairs of objects, known as the dictionary’s entries. The first element of each entry is the key and the second element is the value. The key must be a name (unlike dictionary keys in PostScript, which may be objects of any type). The value can be any kind of object, including another dictionary.
Stream7 A stream object, like a string object, is a sequence of bytes. However, a PDF application can read a stream incrementally, while a string must be read in its entirety. Furthermore, a stream can be of unlimited length, whereas a string is subject to an implementation limit. For this reason, objects with potentially large amounts of data, such as images and page descriptions, are represented as streams.
Null8 The null object has a type and value that are unequal to those of any other object. There is only one object of type null, denoted by the keyword null. An indirect object reference to a nonexistent object is treated the same as a null object. Specifying the null object as the value of a dictionary entry is equivalent to omitting the entry entirely.
Reference9 Any object in a PDF file may be labeled as an indirect object. This gives the object a unique object identifier by which other objects can refer to it (for example, as an element of an array or as the value of a dictionary entry).
See Also