Class HyperlinkCollector
Class HyperlinkCollector
Namespace: Aspose.Page.XPS.Features
Assembly: Aspose.Page.dll (25.1.2)
Klasa ta umożliwia zbieranie elementów XPS z hiperłączami z bieżącej strony dokumentu XPS.
public static class HyperlinkCollector
Dziedziczenie
Członkowie dziedziczeni
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Metody
CollectHyperlinks(XpsDocument)
Zbiera elementy XPS z hiperłączami wszystkich typów.
public static ICollection<xpshyperlinkelement> CollectHyperlinks(XpsDocument document)
Parametry
document
XpsDocument
Dokument XPS.
Zwraca
ICollection<XpsHyperlinkElement>
Kolekcja zawierająca elementy XPS z hiperłączami.
CollectHyperlinks<t>(XpsDocument)
Zbiera elementy XPS z hiperłączami określonego typu.
public static ICollection<xpshyperlinkelement> CollectHyperlinks<t>(XpsDocument document) where T : XpsHyperlinkTarget
Parametry
document
XpsDocument
Dokument XPS.
Zwraca
ICollection<XpsHyperlinkElement>
Kolekcja zawierająca elementy XPS z hiperłączami.
Parametry typu
T
Typ obiektu docelowego hiperłącza. </t>