Table of Contents

Method GetSpan

Namespace
DocWright.Dom.Editing
Assembly
DocWright.Dom.dll

GetSpan(HyperlinkStart)

Gets the span of a hyperlink's content, between its two markers.

public static DocumentSpan GetSpan(this HyperlinkStart link)

Parameters

link HyperlinkStart

The link's start marker.

Returns

DocumentSpan

The span; empty for a link that holds nothing.

Exceptions

ArgumentNullException

link is null.

ArgumentException

The link is not in a paragraph.