Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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.

ValueDescription
S_OK

The method was successful.

E_INVALIDARG

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

Msctf.h

IDL

Msctf.idl

DLL

Msctf.dll

See also

Anchor Gravity
ITfDocumentMgr::CreateContext
ITfEditSession::DoEditSession
ITfRange
ITfRange::SetGravity
TfGravity

 

 

Show:
© 2017 Microsoft