UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:tom.ITextRange2.GetRect |
ITextRange2::GetRect (tom.h) |
Retrieves a rectangle of the specified type for the current range. |
|
controls\itextrange2_getrect.htm |
Controls |
14f0faab-ff37-4f86-a4ba-b6c207d7ddf0 |
12/05/2018 |
GetRect, GetRect method [Windows Controls], GetRect method [Windows Controls],ITextRange2 interface, ITextRange2 interface [Windows Controls],GetRect method, ITextRange2.GetRect, ITextRange2::GetRect, controls.itextrange2_getrect, tom/ITextRange2::GetRect, tomAllowOffClient, tomClientCoord, tomObjectArg, tomTransform |
tom.h |
Windows |
Windows 8 [desktop apps only] |
Windows Server 2012 [desktop apps only] |
Msftedit.dll |
Windows |
19H1 |
|
|
|
|
|
|
Retrieves a rectangle of the specified type for the current range.
Type: long
The type of rectangle to return. This parameter can include one value from each of the following tables.
Use one of these values to indicate the vertical position:
TA_TOP | Top edge of the bounding rectangle. |
TA_BASELINE | Base line of the text. |
TA_BOTTOM | Bottom edge of the bounding rectangle. |
Use one of these values to indicate the horizontal position:
TA_LEFT | Left edge of the bounding rectangle. |
TA_CENTER | Center of the bounding rectangle. |
TA_RIGHT | Right edge of the bounding rectangle. |
Type: long*
The left rectangle coordinate.
Type: long*
The top rectangle coordinate.
Type: long*
The right rectangle coordinate.
Type: long*
The bottom rectangle coordinate.
Type: long*
The hit-test value for the range.
Type: HRESULT
If the method succeeds, it returns NOERROR. Otherwise, it returns an HRESULT error code.