Aspose::Page::XPS::Features::HyperlinkCollector::CollectHyperlinks 方法

HyperlinkCollector::CollectHyperlinks(System::SharedPtr<XpsDocument>) method

收集所有类型超链接的 XPS 元素。

static System::SharedPtr<System::Collections::Generic::ICollection<System::SharedPtr<XpsModel::XpsHyperlinkElement>>> Aspose::Page::XPS::Features::HyperlinkCollector::CollectHyperlinks(System::SharedPtr<XpsDocument> document)
ParameterType描述
documentSystem::SharedPtr<XpsDocument>XPS 文档。

ReturnValue

包含带超链接的 XPS 元素的集合。

另见

HyperlinkCollector::CollectHyperlinks(System::SharedPtr<XpsDocument>) method

收集特定类型超链接的 XPS 元素。

template<typename T> static System::SharedPtr<System::Collections::Generic::ICollection<System::SharedPtr<XpsModel::XpsHyperlinkElement>>> Aspose::Page::XPS::Features::HyperlinkCollector::CollectHyperlinks(System::SharedPtr<XpsDocument> document)
Parameter描述
T超链接目标对象的类型。
ParameterType描述
documentSystem::SharedPtr<XpsDocument>XPS 文档。

ReturnValue

包含带超链接的 XPS 元素的集合。

另见