Aspose::Page::XPS::Features::HyperlinkCollector Class Reference

The class provides collecting hyperlinked XPS elements from the current page of an XPS document. More...

Public Member Functions

 HyperlinkCollector ()=delete
 

Static Public Member Functions

static ASPOSE_PAGE_SHARED_API System::SharedPtr< System::Collections::Generic::ICollection< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsHyperlinkElement > > > CollectHyperlinks (System::SharedPtr< XpsDocument > document)
 Collects XPS elements with hyperlinks of all types. More...
 
template<typename T >
static System::SharedPtr< System::Collections::Generic::ICollection< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsHyperlinkElement > > > CollectHyperlinks (System::SharedPtr< XpsDocument > document)
 Collects XPS elements with hyperlinks of a certain type. More...
 

Detailed Description

The class provides collecting hyperlinked XPS elements from the current page of an XPS document.

Constructor & Destructor Documentation

◆ HyperlinkCollector()

Aspose::Page::XPS::Features::HyperlinkCollector::HyperlinkCollector ( )
delete

Member Function Documentation

◆ CollectHyperlinks() [1/2]

static ASPOSE_PAGE_SHARED_API System::SharedPtr<System::Collections::Generic::ICollection<System::SharedPtr<Aspose::Page::XPS::XpsModel::XpsHyperlinkElement> > > Aspose::Page::XPS::Features::HyperlinkCollector::CollectHyperlinks ( System::SharedPtr< XpsDocument document)
static

Collects XPS elements with hyperlinks of all types.

Parameters
documentThe XPS document.
Returns
The collection containing hyperlinked XPS elements.

◆ CollectHyperlinks() [2/2]

template<typename T >
static System::SharedPtr<System::Collections::Generic::ICollection<System::SharedPtr<Aspose::Page::XPS::XpsModel::XpsHyperlinkElement> > > Aspose::Page::XPS::Features::HyperlinkCollector::CollectHyperlinks ( System::SharedPtr< XpsDocument document)
inlinestatic

Collects XPS elements with hyperlinks of a certain type.

Template Parameters
TThe type of the hyperlink target object.
Parameters
documentThe XPS document.
Returns
The collection containing hyperlinked XPS elements.