DestinationCollection
Revisió
DestinationCollection És una classe en Aspose.PDF FOSS per a .NET. Heretat de: System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string, object>>.
Col·lecció de destinacions anomenades exposada com IEnumerable<KeyValuePair <string, object» per a la paritat Aspose.Pdf.
Aquesta classe proporciona 10 mètodes per treballar amb els objectes DestinationCollection en programes .NET. Els mètodes disponibles inclouen: Add, Clear, Contains, CopyTo, GetEnumerator, GetExplicitDestination, GetPageNumber, IndexOf, Remove. Tots els membres públics estan accessibles a qualsevol aplicació .NET després d’instal·lar el Aspose.PDF FOSS per al paquet .Net. Propietats : Count, IsReadOnly.
Propietats
| Nom | Tipus | Access | Descripció |
|---|---|---|---|
Count | int | Llegir | Nombre de destinacions (entrada d’arbre nom-destination més entrada local addicional). |
IsReadOnly | bool | Llegir | Sempre fals: els trucadors poden estendre a través de la sobrepasa local. |
Mètodes
| Signature | Descripció |
|---|---|
GetPageNumber(destinameName: string, useCache: bool) | Obté el número de pàgina basat en 1 per a una destinació amb nom. |
GetPageNumber(destinameName: string) | Conveni sobrecarregat que sempre cache. |
GetExplicitDestination(destinameName: string, useCache: bool) | Resoldre un destí anomenat a un ExplicitDestination; torna nul quan no es troba. |
Add(item: System.Collections.Generic.KeyValuePair<string, object>) | Afegeix un parell (nom → destinació) a la superfície local. |
Clear() | Retirar cada entrada de sobrepasa. |
Contains(value: System.Collections.Generic.KeyValuePair<string, object>) | Si el valor està present en la imatge (nomes de destinacions o sobrellat). |
CopyTo(array: System.Collections.Generic.KeyValuePair<string, object>[], arrayIndex: int) | Copiar la imatge en array, començant a arryIndex. |
IndexOf(value: System.Collections.Generic.KeyValuePair<string, object>) | Indicador de valor en la imatge, o -1. |
Remove(item: System.Collections.Generic.KeyValuePair<string, object>) | Elimina un element d’entrada de superfície. |
GetEnumerator() | Coneix GetEnumerator en aquest instància DestinationCollection. |