| TextDocumentRangeFromPoint Method |
Retrieves a range for the content at or nearest to the specified point on the screen.
Namespace: TextObjectModelAssembly: ManagedTOM2 (in ManagedTOM2.dll) Version: 1.0.5577.41188
Syntax public TextRange RangeFromPoint(
Point p
)
Public Function RangeFromPoint (
p As Point
) As TextRange
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:
TextRangeSee Also