ITfRange::GetGravity method
Syntax
HRESULT GetGravity( [out] TfGravity *pgStart, [out] TfGravity *pgEnd );
Parameters
- pgStart [out]
-
Pointer to a TfGravity value that receives the gravity of the start anchor.
- pgEnd [out]
-
Pointer to a TfGravity value that receives the gravity of the end anchor.
Return value
This method can return one of these values.
| Value | Description |
|---|---|
|
The method was successful. |
|
One or more parameters are invalid. |
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps | Windows Store apps] |
|
Redistributable |
TSF 1.0 on Windows 2000 Professional |
|
Header |
|
|
IDL |
|
|
DLL |
|
See also
- Anchor Gravity
- ITfDocumentMgr::CreateContext
- ITfEditSession::DoEditSession
- ITfRange
- ITfRange::SetGravity
- TfGravity