Table of Contents

Method FromInlines

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

FromInlines(Inline, Inline)

Creates a range spanning two inlines and everything between them, inclusive.

public static DocumentRange FromInlines(Inline start, Inline end)

Parameters

start Inline

The first inline.

end Inline

The last inline. It may be the same node as start.

Returns

DocumentRange

The range.

Exceptions

ArgumentNullException

An argument is null.

ArgumentException

The inlines have different parents, are detached, or end precedes start.