Aspose::Pdf::DestinationCollection klass

DestinationCollection class

Klassen representerar samlingen av alla destinationer (ett namntre som mappar namnsträngar till destinationer (se 12.3.2.3, “Named Destinations”) och (se 7.7.4, “Name Dictionary”)) i pdf-dokumentet.

class DestinationCollection : public System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<System::Object>>>

Metoder

MetodBeskrivning
Add(const System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<System::Object>>&) overrideLägger till det angivna objektet. Collection är skrivskyddad. Kastar alltid NotSupportedException‑undantag.
Clear() overrideCollection är skrivskyddad. Kastar alltid NotSupportedException‑undantag.
Contains(const System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<System::Object>>&) const overrideBestämmer om denna instans innehåller objektet.
CopyTo(System::ArrayPtr<System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<System::Object>>>, int32_t) overrideKopierar elementen i samlingen till en Array, med start vid ett specifikt Array-index.
get_Count() const overrideHämtar antalet element som finns i samlingen.
get_IsReadOnly() const overrideHämtar ett värde som indikerar om samlingen är skrivskyddad.
GetEnumerator() overrideReturnerar enumeratorn.
GetExplicitDestination(const System::String&, bool)Returnerar den explicita destinationen med namnet.
GetPageNumber(const System::String&, bool)Returnerar sidnumret för destinationen med namnet.
idx_get(int32_t)Hämtar destinationsobjektet efter index.
IndexOf(System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<System::Object>>) constReturnerar indexet för destinationen i samlingen.
Remove(const System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<System::Object>>&) overrideTar bort det angivna objektet. Collection är skrivskyddad. Kastar alltid ett NotSupportedException-undantag.

Se även