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)
| Parameter | Type | 描述 |
|---|---|---|
| document | System::SharedPtr<XpsDocument> | 该 XPS 文档。 |
ReturnValue
包含带超链接的 XPS 元素的集合。
另见
- Typedef SharedPtr
- Class ICollection
- Class XpsHyperlinkElement
- Class XpsDocument
- Class HyperlinkCollector
- Namespace Aspose::Page::XPS::Features
- Library Aspose.Page for C++
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 | 超链接目标对象的类型。 |
| Parameter | Type | 描述 |
|---|---|---|
| document | System::SharedPtr<XpsDocument> | 该 XPS 文档。 |
ReturnValue
包含带超链接的 XPS 元素的集合。
另见
- Typedef SharedPtr
- Class ICollection
- Class XpsHyperlinkElement
- Class XpsDocument
- Class HyperlinkCollector
- Namespace Aspose::Page::XPS::Features
- Library Aspose.Page for C++