IAnchor::SetGravity method (textstor.h)

Sets the gravity of the anchor.

Syntax

HRESULT SetGravity(
  [in] TsGravity gravity
);

Parameters

[in] gravity

Contains a value from the TsGravity enumeration that specifies a new forward or backward gravity for the anchor.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header textstor.h
DLL Msctf.dll
Redistributable TSF 1.0 on Windows 2000 Professional

See also

Anchor Gravity

IAnchor

IAnchor::GetGravity

TsGravity