Delen via


ITextRange.GetRect(PointOptions, Rect, Int32) Method

Definition

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

public:
 void GetRect(PointOptions options, [Out] Rect & rect, [Out] int & hit);
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.

Applies to