Aspose::Pdf::DataEditor::CosPdfDictionary class
Contents
[
Hide
]CosPdfDictionary class
A class for accessing an object’s dictionary.
class CosPdfDictionary : public Aspose::Pdf::DataEditor::CosPdfPrimitive,
public System::Collections::Generic::IDictionary<System::String, System::SharedPtr<ICosPdfPrimitive>>
Methods
| Method | Description |
|---|---|
| Add(const System::String&, const System::SharedPtr<ICosPdfPrimitive>&) override | Set ICosPdfPrimitive to dictionary. |
| Add(const System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<ICosPdfPrimitive>>&) override | Set ICosPdfPrimitive to dictionary. |
| Clear() override | Removes all items from the CosPdfDictionary. |
| Contains(const System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<ICosPdfPrimitive>>&) const override | Determines whether the CosPdfDictionary contains a specific value. |
| ContainsKey(const System::String&) const override | Determines whether the CosPdfDictionary contains an element with the specified key. |
| CopyTo(System::ArrayPtr<System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<ICosPdfPrimitive>>>, int32_t) override | Copies the elements of the CosPdfDictionary to an Array, starting at a particular Array index. |
| CosPdfDictionary(const System::SharedPtr<Resources>&) | Creates a dictionary from resources. |
| static CreateEmptyDictionary(const System::SharedPtr<Page>&) | Creates an empty dictionary that will be attached to the page. |
| static CreateEmptyDictionary(const System::SharedPtr<Document>&) | Creates an empty dictionary that will be attached to the document. |
| get_AllKeys() const | Full collection of keys. Contains editable and not editable keys. |
| get_Count() const override | Gets the number of elements contained in the CosPdfDictionary. |
| get_IsReadOnly() const override | Gets a value indicating whether the CosPdfDictionary is read-only. |
| get_Keys() const override | Collection of editable keys. |
| get_Values() const override | Gets an ICollection containing the values in the CosPdfDictionary. |
| GetEnumerator() override | Returns an enumerator that iterates through the collection. |
| idx_get(const System::String&) const override | Gets the element with the specified key. |
| idx_set(const System::String&, System::SharedPtr<ICosPdfPrimitive>) override | Sets the element with the specified key. |
| Remove(const System::String&) override | Removes the element with the specified key from the CosPdfDictionary. |
| Remove(const System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<ICosPdfPrimitive>>&) override | Removes the first occurrence of a specific object from the CosPdfDictionary. |
| ToCosPdfDictionary() override | Tries cast this instance to CosPdfDictionary. |
| TryGetValue(const System::String&, System::SharedPtr<ICosPdfPrimitive>&) const override | For access to simple data type like string, name, bool, number. Returns null for other types. |
See Also
- Class CosPdfPrimitive
- Class IDictionary
- Namespace Aspose::Pdf::DataEditor
- Library Aspose.PDF for C++