Method FromInlines
FromInlines(Inline, Inline)
Creates a range spanning two inlines and everything between them, inclusive.
public static DocumentRange FromInlines(Inline start, Inline end)
Parameters
Returns
- DocumentRange
The range.
Exceptions
- ArgumentNullException
An argument is null.
- ArgumentException
The inlines have different parents, are detached, or
endprecedesstart.