ObjectSoup Class

ABCpdf .net

 
   

A non-traditional collection of Indirect Objects making up the content of a PDF.

This collection has some of the characteristics of an Array and some of a Dictionary. Objects are referred to by index - starting at zero - like an Array. However they do not move within the list because they are identified by index - like a Dictionary with numeric keys.

We call this type of hybrid object a Soup. We assign it traditional interfaces to make it easier to use.

System.Object
   WebSupergoo.ABCpdf10.Objects.ObjectSoup

Implements: IList<IndirectObject>, ICollection<IndirectObject>, IEnumerable<IndirectObject>, IList, ICollection, IEnumerable, IDisposable

 

   
   
Method Description
Dispose Dispose of the object.
CopyTo Copies the objects in the Soup to an Array.
Add Adds an object to the Soup.
Clear Removes all objects from the Soup.
Contains Determines whether the Soup contains a specific object.
IndexOf Determines the index of a specific object.
Throws Exceptions Insert Inserts an object into the Soup at the specified position.
Remove Removes an object from the Soup.
Throws Exceptions RemoveAt Removes an object at a specified position from the Soup.
GetEnumerator Gets an enumerator for the Soup.

 

   
   
Property Description
Count The number of items in the Soup.
Throws Exceptions Item Gets or sets the object at the specified index.
Catalog The Catalog for the document.
Trailer The Trailer or XRef for the document.
Revisions The number of incremental updates.