Class HyperlinkCollector
Class HyperlinkCollector
Tên không gian: Aspose.Page.XPS.Features Tổng hợp: Aspose.Page.dll (25.4.0)
Các lớp cung cấp thu thập các yếu tố XPS liên kết từ trang hiện tại của một tài liệu XPS.
public static class HyperlinkCollector
Inheritance
Thành viên thừa kế
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Methods
CollectHyperlinks(XpsDocument)
Thu thập các yếu tố XPS với các hyperlinks của tất cả các loại.
public static ICollection<xpshyperlinkelement> CollectHyperlinks(XpsDocument document)
Parameters
document
XpsDocument
Tài liệu XPS
Returns
ICollection < XpsHyperlinkElement >
Bộ sưu tập chứa các yếu tố XPS liên kết.
Nhập Hyperlinks(XpsDocument)
Thu thập các yếu tố XPS với các hyperlinks của một loại nhất định.
public static ICollection<xpshyperlinkelement> CollectHyperlinks<t>(XpsDocument document) where T : XpsHyperlinkTarget
Parameters
document
XpsDocument
Tài liệu XPS
Returns
ICollection < XpsHyperlinkElement >
Bộ sưu tập chứa các yếu tố XPS liên kết.
Loại Parameters
T
Loại đối tượng mục tiêu của hyperlink.