Click or drag to resize
TextDocumentRangeFromPoint Method
Retrieves a range for the content at or nearest to the specified point on the screen.

Namespace: TextObjectModel
Assembly: ManagedTOM2 (in ManagedTOM2.dll) Version: 1.0.5577.41188
Syntax
public TextRange RangeFromPoint(
	Point p
)

Parameters

p
Type: System.DrawingPoint
The horizontal and vertical coordinates of the specified point, in screen coordinates.

Return Value

Type: TextRange
See Also