ITfRange::GetGravity method (msctf.h)
Obtains the gravity of the anchors in the object.
Syntax
HRESULT GetGravity(
[out] TfGravity *pgStart,
[out] TfGravity *pgEnd
);
Parameters
[out] pgStart
Pointer to a TfGravity value that receives the gravity of the start anchor.
[out] pgEnd
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
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps | UWP apps] |
Minimum supported server | Windows 2000 Server [desktop apps | UWP apps] |
Target Platform | Windows |
Header | msctf.h |
DLL | Msctf.dll |
Redistributable | TSF 1.0 on Windows 2000 Professional |