Aspose::Pdf::DataEditor::DictionaryEditor‑klass

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

MetodBeskrivning
Add(const System::String&, const System::SharedPtr<ICosPdfPrimitive>&) overrideStäll in ICosPdfPrimitive till dictionary.
Add(const System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<ICosPdfPrimitive>>&) overrideStäll in ICosPdfPrimitive till dictionary.
Clear() overrideTar bort alla objekt från DictionaryEditor.
Contains(const System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<ICosPdfPrimitive>>&) const overrideAvgör om DictionaryEditor innehåller ett specifikt värde.
ContainsKey(const System::String&) const overrideAvgö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) overrideKopierar 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() constFullständig samling av nycklar. Innehåller redigerbara och icke‑redigerbara nycklar.
get_Count() const overrideHämtar antalet element som finns i DictionaryEditor.
get_IsReadOnly() const overrideHämtar ett värde som indikerar om DictionaryEditor är skrivskyddad.
get_Keys() const overrideCollection av redigerbara nycklar.
get_Values() const overrideHämtar en ICollection som innehåller värdena i DictionaryEditor.
GetEnumerator() overrideReturnerar en enumerator som itererar genom samlingen.
idx_get(const System::String&) const overrideHämtar elementet med den angivna nyckeln.
idx_set(const System::String&, System::SharedPtr<ICosPdfPrimitive>) overrideStäller in elementet med den angivna nyckeln.
Remove(const System::String&) overrideTar bort elementet med den angivna nyckeln från DictionaryEditor.
Remove(const System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<ICosPdfPrimitive>>&) overrideTar bort den första förekomsten av ett specifikt objekt från DictionaryEditor.
TryGetValue(const System::String&, System::SharedPtr<ICosPdfPrimitive>&) const overrideFör åtkomst till enkla datatyper som string, name, bool, number. Returnerar null för andra typer.

Se även