ITextDocument.GetRangeFromPoint(Point, PointOptions) Method

Definition

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.

Applies to

See also