Aspose::Pdf::DataEditor::CosPdfDictionary klass

CosPdfDictionary class

En klass för att komma åt ett objekts ordbok.

class CosPdfDictionary : public Aspose::Pdf::DataEditor::CosPdfPrimitive,
                         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 CosPdfDictionary.
Contains(const System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<ICosPdfPrimitive>>&) const overrideBestämmer om CosPdfDictionary innehåller ett specifikt värde.
ContainsKey(const System::String&) const overrideBestämmer om CosPdfDictionary innehåller ett element med den angivna nyckeln.
CopyTo(System::ArrayPtr<System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<ICosPdfPrimitive>>>, int32_t) overrideKopierar elementen i CosPdfDictionary till en Array, med start vid ett specifikt Array index.
CosPdfDictionary(const System::SharedPtr<Resources>&)Skapar ett dictionary från resurser.
static CreateEmptyDictionary(const System::SharedPtr<Page>&)Skapar en tom ordbok som kommer att bifogas till sidan.
static CreateEmptyDictionary(const System::SharedPtr<Document>&)Skapar en tom ordbok som kommer att bifogas till dokumentet.
get_AllKeys() constFullständig samling av nycklar. Innehåller redigerbara och icke‑redigerbara nycklar.
get_Count() const overrideHämtar antalet element som finns i CosPdfDictionary.
get_IsReadOnly() const overrideHämtar ett värde som indikerar om CosPdfDictionary är skrivskyddad.
get_Keys() const overrideCollection av redigerbara nycklar.
get_Values() const overrideHämtar en ICollection som innehåller värdena i CosPdfDictionary.
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 CosPdfDictionary.
Remove(const System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<ICosPdfPrimitive>>&) overrideTar bort den första förekomsten av ett specifikt objekt från CosPdfDictionary.
ToCosPdfDictionary() overrideFörsöker kasta detta objekt till CosPdfDictionary.
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