Click or drag to resize

PdfDictionary Class

Represents an associative table containing pairs of PdfBasicObjects, known as the dictionary’s entries.
Inheritance Hierarchy
SystemObject
  SautinSoft.Pdf.ObjectsPdfBasicObject
    SautinSoft.Pdf.ObjectsPdfBasicContainer
      SautinSoft.Pdf.ObjectsPdfBasicCollection
        SautinSoft.Pdf.ObjectsPdfDictionary

Namespace: SautinSoft.Pdf.Objects
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2024.8.8
Syntax
public sealed class PdfDictionary : PdfBasicCollection, 
	IDictionary, ICollection, IEnumerable, IEnumerable<PdfDictionaryEntry>, 
	IDictionary<PdfName, PdfBasicObject>, ICollection<KeyValuePair<PdfName, PdfBasicObject>>, 
	IEnumerable<KeyValuePair<PdfName, PdfBasicObject>>

The PdfDictionary type exposes the following members.

Properties
 NameDescription
Public propertyCount Gets the number of entries contained in the PdfDictionary.
(Overrides PdfBasicCollectionCount)
Public propertyIndirect Gets the PdfIndirectObject if this PdfBasicContainer is Value or otherwise.
(Inherited from PdfBasicContainer)
Public propertyIsReadOnly Gets a value indicating whether the PdfBasicContainer and all of its descendants are read-only.
(Inherited from PdfBasicContainer)
Public propertyItem Gets or sets the PdfBasicObject value associated with the specified PdfName key.
Public propertyKeys Gets a collection containing the keys in the PdfDictionary.
Public propertyObjectType Gets the Dictionary value.
(Overrides PdfBasicObjectObjectType)
Public propertyStream Gets the PdfStream if this PdfDictionary is Dictionary or otherwise.
Public propertyValues Gets a collection containing the values in the PdfDictionary.
Top
Methods
 NameDescription
Public methodAdd Adds the specified key and value to the dictionary.
Public methodClear Removes all keys and values from the PdfDictionary.
Public methodClone(Boolean) Makes a deep clone of the PdfDictionary with optionally cloning descendant PdfIndirectObjects.
Public methodClone(FuncPdfIndirectObject, PdfBasicObject) Makes a deep clone of the PdfDictionary with parameter that controls the cloning of PdfIndirectObjects.
Public methodContainsKey Determines whether the PdfDictionary contains the specified key.
Public methodStatic memberCreate Creates a new instance of the PdfDictionary class.
Public methodStatic memberCreate(IEnumerablePdfDictionaryEntry) Creates a new instance of the PdfDictionary class that contains entries copied from the specified collection and has sufficient capacity to accommodate the number of entries copied.
Public methodStatic memberCreate(Int32) Creates a new instance of the PdfDictionary class that is empty and has the specified initial capacity.
Public methodStatic memberCreate(PdfDictionaryEntry) Creates a new instance of the PdfDictionary class that contains entries copied from the specified collection and has sufficient capacity to accommodate the number of entries copied.
Public methodEquals Determines whether the specified Object is equal to this PdfBasicContainer instance.
(Inherited from PdfBasicContainer)
Public methodGetEnumerator Returns an enumerator that iterates through the PdfDictionary.
Public methodGetHashCode Returns a hash code for this PdfBasicContainer instance.
(Inherited from PdfBasicContainer)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodRemove Removes the value with the specified key from the PdfDictionary.
Public methodToString Returns a String that represents this PdfDictionary instance.
(Overrides PdfBasicObjectToString)
Public methodTryGetValue Gets the value associated with the specified key.
Top
See Also