Share via


RichEditTextDocument.GetRangeFromPoint(Point, PointOptions) Method

Definition

Retrieves the degenerate (empty) text range at, or nearest to, a particular point on the screen.

public:
 virtual ITextRange ^ GetRangeFromPoint(Point point, PointOptions options) = GetRangeFromPoint;
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 new text range.

Implements

Applies to