Pdf |
public abstract class PdfTree<TKey, TValue> : PdfCollection<KeyValuePair<TKey, TValue>>, IList, ICollection, IEnumerable, IList<KeyValuePair<TKey, TValue>>, ICollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>
The PdfTreeTKey, TValue type exposes the following members.
Name | Description | |
---|---|---|
Count |
Gets the number of elements contained in the PdfCollection.
(Inherited from PdfCollection) | |
ItemInt32 |
Gets or sets the element at the specified index.
(Inherited from PdfCollectionT) | |
ItemTKey | Gets or sets the value associated with the specified key. | |
Metadata | (Optional; PDF 1.4) A metadata stream containing metadata for the component.
(Inherited from PdfObject) |
Name | Description | |
---|---|---|
Add(T) |
Adds an element to the end of the PdfCollectionT.
(Inherited from PdfCollectionT) | |
Add(TKey, TValue) | Adds the specified key and value to the tree. | |
Clear |
Removes all elements from the PdfCollection.
(Inherited from PdfCollection) | |
Contains |
Determines whether an element is in the PdfCollectionT.
(Inherited from PdfCollectionT) | |
ContainsKey | Determines whether the tree contains the specified key. | |
CopyTo |
Copies the entire PdfCollectionT to a compatible one-dimensional array, starting at the specified index of the target array.
(Inherited from PdfCollectionT) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
GetEnumerator |
Returns an enumerator that iterates through the PdfCollectionT.
(Inherited from PdfCollectionT) | |
GetHashCode | Serves as the default hash function. (Inherited from Object) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
IndexOf |
Searches for the specified element and returns the zero-based index of the first occurrence within the entire PdfCollectionT.
(Inherited from PdfCollectionT) | |
Insert |
Inserts an element into the PdfCollectionT at the specified index.
(Inherited from PdfCollectionT) | |
Remove(T) |
Removes the first occurrence of a specific element from the PdfCollectionT.
(Inherited from PdfCollectionT) | |
Remove(TKey) | Removes the value with the specified key from the tree. | |
RemoveAt |
Removes the element at the specified index of the PdfCollection.
(Inherited from PdfCollection) | |
ToString | Returns a string that represents the current object. (Inherited from Object) | |
TryGetValue | Gets the value associated with the specified key. |
Name | Description | |
---|---|---|
GetArray |
Gets the PdfArray that serves as a backing storage of the specified PdfCollection.
(Defined by PdfObjectExtensions) | |
GetArray |
Gets the PdfArray that serves as a backing storage of the specified PdfObject or if no PdfArray serves as a backing storage of the specified PdfObject.
(Defined by PdfObjectExtensions) | |
GetDictionary |
Gets the PdfDictionary that serves as a backing storage of the specified PdfObject.
(Defined by PdfObjectExtensions) | |
GetOrAddArray |
Gets the PdfArray that serves as a backing storage of the specified PdfCollection.
(Defined by PdfObjectExtensions) | |
GetOrAddDictionary |
Gets the PdfDictionary that serves as a backing storage of the specified PdfObject.
(Defined by PdfObjectExtensions) |
PdfString and PdfInteger are used as keys instead of String and Int32 to avoid, possibly costly, conversions.
SautinSoft.Pdf, currently, doesn't maintain the tree's structure when modifying the tree. Instead the entire tree structure is flattened into a single root node.