Aspose::Pdf::DataEditor::DictionaryEditor‑klass
Innehåll
[
Dölj
]DictionaryEditor class
En klass för att komma åt ett dokuments träd‑ordbok (dokumentordbok, sidordbok, resursordbok).
class DictionaryEditor : public System::Collections::Generic::IDictionary<System::String, System::SharedPtr<ICosPdfPrimitive>>
Metoder
| Metod | Beskrivning |
|---|---|
| Add(const System::String&, const System::SharedPtr<ICosPdfPrimitive>&) override | Ställ in ICosPdfPrimitive till dictionary. |
| Add(const System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<ICosPdfPrimitive>>&) override | Ställ in ICosPdfPrimitive till dictionary. |
| Clear() override | Tar bort alla objekt från DictionaryEditor. |
| Contains(const System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<ICosPdfPrimitive>>&) const override | Avgör om DictionaryEditor innehåller ett specifikt värde. |
| ContainsKey(const System::String&) const override | Avgör om DictionaryEditor innehåller ett element med den specificerade nyckeln. |
| CopyTo(System::ArrayPtr<System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<ICosPdfPrimitive>>>, int32_t) override | Kopierar elementen i DictionaryEditor till en Array, med start vid ett specifikt Array‑index. |
| DictionaryEditor(const System::SharedPtr<Page>&) | ArgumentNullException |
| DictionaryEditor(const System::SharedPtr<Document>&) | ArgumentNullException |
| DictionaryEditor(const System::SharedPtr<Resources>&) | ArgumentNullException |
| get_AllKeys() const | Fullständig samling av nycklar. Innehåller redigerbara och icke‑redigerbara nycklar. |
| get_Count() const override | Hämtar antalet element som finns i DictionaryEditor. |
| get_IsReadOnly() const override | Hämtar ett värde som indikerar om DictionaryEditor är skrivskyddad. |
| get_Keys() const override | Collection av redigerbara nycklar. |
| get_Values() const override | Hämtar en ICollection som innehåller värdena i DictionaryEditor. |
| GetEnumerator() override | Returnerar en enumerator som itererar genom samlingen. |
| idx_get(const System::String&) const override | Hämtar elementet med den angivna nyckeln. |
| idx_set(const System::String&, System::SharedPtr<ICosPdfPrimitive>) override | Ställer in elementet med den angivna nyckeln. |
| Remove(const System::String&) override | Tar bort elementet med den angivna nyckeln från DictionaryEditor. |
| Remove(const System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<ICosPdfPrimitive>>&) override | Tar bort den första förekomsten av ett specifikt objekt från DictionaryEditor. |
| TryGetValue(const System::String&, System::SharedPtr<ICosPdfPrimitive>&) const override | För åtkomst till enkla datatyper som string, name, bool, number. Returnerar null för andra typer. |
Se även
- Class IDictionary
- Namespace Aspose::Pdf::DataEditor
- Library Aspose.PDF for C++