Table of Contents

Constructor DocumentSpan

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

DocumentSpan(DocumentPosition, DocumentPosition)

Initializes a span between two positions, in either order.

public DocumentSpan(DocumentPosition start, DocumentPosition end)

Parameters

start DocumentPosition

One end.

end DocumentPosition

The other end.

Exceptions

ArgumentException

A position is default, or the two are in different documents.