Aspose::Pdf::DataEditor::CosPdfDictionary::Remove method
Contents
[
Hide
]CosPdfDictionary::Remove(const System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<ICosPdfPrimitive>>&) method
Removes the first occurrence of a specific object from the CosPdfDictionary.
bool Aspose::Pdf::DataEditor::CosPdfDictionary::Remove(const System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<ICosPdfPrimitive>> &item) override
| Parameter | Type | Description |
|---|---|---|
| item | const System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<ICosPdfPrimitive>>& | The object to remove from the CosPdfDictionary. |
ReturnValue
true if item was successfully removed from the CosPdfDictionary; otherwise, false. This method also returns false if item is not found in the original CosPdfDictionary.
See Also
- Class KeyValuePair
- Class String
- Typedef SharedPtr
- Class ICosPdfPrimitive
- Class CosPdfDictionary
- Namespace Aspose::Pdf::DataEditor
- Library Aspose.PDF for C++
CosPdfDictionary::Remove(const System::String&) method
Removes the element with the specified key from the CosPdfDictionary.
bool Aspose::Pdf::DataEditor::CosPdfDictionary::Remove(const System::String &key) override
| Parameter | Type | Description |
|---|---|---|
| key | const System::String& | The key of the element to remove. |
ReturnValue
True if the element is successfully removed; otherwise, false. This method also returns false if key was not found in the original dictionary or key the key is not editable
See Also
- Class String
- Class CosPdfDictionary
- Namespace Aspose::Pdf::DataEditor
- Library Aspose.PDF for C++