ITextRange.GetRect(PointOptions, Rect, Int32) 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 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.