HyperlinkCollector.CollectHyperlinks

Collects XPS elements with hyperlinks of all types.

public static ICollection<XpsHyperlinkElement> CollectHyperlinks(XpsDocument document)
ParameterTypeDescription
documentXpsDocumentThe XPS document.

Return Value

The collection containing hyperlinked XPS elements.

See Also


Collects XPS elements with hyperlinks of a certain type.

public static ICollection<XpsHyperlinkElement> CollectHyperlinks<T>(XpsDocument document)
    where T : XpsHyperlinkTarget
ParameterDescription
TThe type of the hyperlink target object.
documentThe XPS document.

Return Value

The collection containing hyperlinked XPS elements.

See Also