Aspose::Pdf::DestinationCollection klass
Innehåll
[
Dölj
]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
| Metod | Beskrivning |
|---|---|
| Add(const System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<System::Object>>&) override | Lägger till det angivna objektet. Collection är skrivskyddad. Kastar alltid NotSupportedException‑undantag. |
| Clear() override | Collection är skrivskyddad. Kastar alltid NotSupportedException‑undantag. |
| Contains(const System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<System::Object>>&) const override | Bestämmer om denna instans innehåller objektet. |
| CopyTo(System::ArrayPtr<System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<System::Object>>>, int32_t) override | Kopierar elementen i samlingen till en Array, med start vid ett specifikt Array-index. |
| get_Count() const override | Hämtar antalet element som finns i samlingen. |
| get_IsReadOnly() const override | Hämtar ett värde som indikerar om samlingen är skrivskyddad. |
| GetEnumerator() override | Returnerar 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>>) const | Returnerar indexet för destinationen i samlingen. |
| Remove(const System::Collections::Generic::KeyValuePair<System::String, System::SharedPtr<System::Object>>&) override | Tar bort det angivna objektet. Collection är skrivskyddad. Kastar alltid ett NotSupportedException-undantag. |
Se även
- Class ICollection
- Namespace Aspose::Pdf
- Library Aspose.PDF for C++