CTextDocument2.RangeFromPointmethod
Retrieves a range for the content at or nearest to the specified point on the screen.
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.
Syntax
FUNCTION RangeFromPoint (BYVAL x AS LONG, BYVAL y AS LONG) AS ITextRange PTR
Parameters
| Name | Description | |
|---|---|---|
x | The horizontal coordinate of the specified point, in screen coordinates. | |
y | The vertical coordinate of the specified point, in screen coordinates. |
Return value
Pointer to a ITextRange interface that corresponds to the specified point.
Description
Retrieves a range for the content at or nearest to the specified point on the screen.
Reference
- Documented in Windows/WIndows Controls/RichEdit/CTextDocument2 Class.md
- Topic: CTextDocument2 Class