Share via


RichEditTextRange.GetRect(PointOptions, Rect, Int32) Method

Definition

Retrieves the bounding rectangle that encompasses the text range on the screen.

public:
 virtual void GetRect(PointOptions options, [Out] Rect & rect, [Out] int & hit) = GetRect;
void GetRect(PointOptions const& options, [Out] Rect & rect, [Out] int & hit);
public void GetRect(PointOptions options, out Rect rect, out int hit);
Public Sub GetRect (options As PointOptions, ByRef rect As Rect, ByRef hit As Integer)

Parameters

options
PointOptions

A value that indicates the rectangle to retrieve.

rect
Rect

A structure that contains four floating-point numbers that represent the location and size of the bounding rectangle.

hit
Int32

int

The hit-test value for the text range.

Implements

M:Windows.UI.Text.ITextRange.GetRect(Windows.UI.Text.PointOptions,Windows.Foundation.Rect@,System.Int32@) M:Windows.UI.Text.ITextRange.GetRect(Windows.UI.Text.PointOptions,Windows.Foundation.Rect@,int@)

Applies to