Class PdfDictionary
- Namespace
- SoftZenPdf.Objects
- Assembly
- SoftZenPdf.dll
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.
public class PdfDictionary : PdfObject, IEnumerable<KeyValuePair<PdfName, PdfObject>>, IEnumerable
- Inheritance
-
PdfDictionary
- Implements
- Inherited Members
Properties
- Count
The number of entries.
- this[PdfName]
Gets a value, or sets or removes an entry. Strings convert implicitly to PdfName keys.
- Keys
The keys, in insertion order.
Methods
- Add(PdfName, PdfObject)
Adds an entry; enables collection-initializer syntax.
- ContainsKey(PdfName)
Whether the dictionary has an entry for the key.
- GetEnumerator()
Enumerates the entries in insertion order.
- Remove(PdfName)
Removes an entry.
- TryGetValue(PdfName, out PdfObject)
Gets a value if the key exists.