Class HyperlinkCollector
Der Name: Aspose.Page.XPS.Features Versammlung: Aspose.Page.dll (25.4.0)
Die Klasse bietet die Sammlung von hyperlinkten XPS-Elementen aus der aktuellen Seite eines XPS-Dokuments.
public static class HyperlinkCollector
Inheritance
Vererbte Mitglieder
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Methods
CollectHyperlinks(XpsDocument)
Er sammelt XPS-Elemente mit Hyperlinks aller Arten.
public static ICollection<xpshyperlinkelement> CollectHyperlinks(XpsDocument document)
Parameters
document
XpsDocument
Das XPS Dokument.
Returns
ICollection &undlt; XpsHyperlinkElement >
Die Sammlung enthält hyperlinkte XPS-Elemente.
SammlungHyperlinks(XpsDocument)
Sammelt XPS-Elemente mit Hyperlinks eines bestimmten Typs.
public static ICollection<xpshyperlinkelement> CollectHyperlinks<t>(XpsDocument document) where T : XpsHyperlinkTarget
Parameters
document
XpsDocument
Das XPS Dokument.
Returns
ICollection &undlt; XpsHyperlinkElement >
Die Sammlung enthält hyperlinkte XPS-Elemente.
Arten von Parametern
T
Die Art des Hyperlink-Zielobjekts.