TextRangeContains Method Document Toolkit Help
Checks whether a position (specified by a TextPointer) is located within the current range.

Namespace: FirstFloor.Documents
Assembly: FirstFloor.Documents (in FirstFloor.Documents.dll) Version: 2.5.0.0 (2.5.11.0)
Syntax

public bool Contains(
	TextPointer p
)

Parameters

p
Type: FirstFloor.DocumentsTextPointer
The position.

Return Value

Type: Boolean
true if the position is located within the range; otherwise, false.
See Also

Reference