ITextDocument.GetRangeFromPoint(Point, PointOptions) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the degenerate (empty) text range at, or nearest to, a particular point on the screen.
public:
ITextRange ^ GetRangeFromPoint(Point point, PointOptions options);
ITextRange GetRangeFromPoint(Point const& point, PointOptions const& options);
public ITextRange GetRangeFromPoint(Point point, PointOptions options);
function getRangeFromPoint(point, options)
Public Function GetRangeFromPoint (point As Point, options As PointOptions) As ITextRange
Parameters
- point
- Point
The location of the point on the screen, in screen coordinates.
- options
- PointOptions
The alignment type of the specified point.
Returns
The text range object.