Skip to content

Latest commit

 

History

History
110 lines (79 loc) · 2.7 KB

nf-tom-itextrange2-setgravity.md

File metadata and controls

110 lines (79 loc) · 2.7 KB
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.SetGravity
ITextRange2::SetGravity (tom.h)
Sets the gravity of this range.
ITextRange2 interface [Windows Controls]
SetGravity method
ITextRange2.SetGravity
ITextRange2::SetGravity
SetGravity
SetGravity method [Windows Controls]
SetGravity method [Windows Controls]
ITextRange2 interface
controls.itextrange2_setgravity
tom/ITextRange2::SetGravity
tomGravityBack
tomGravityFore
tomGravityIn
tomGravityOut
tomGravityUI
controls\itextrange2_setgravity.htm
Controls
10214543-36da-46e3-b926-0ba088f84a7b
12/05/2018
ITextRange2 interface [Windows Controls],SetGravity method, ITextRange2.SetGravity, ITextRange2::SetGravity, SetGravity, SetGravity method [Windows Controls], SetGravity method [Windows Controls],ITextRange2 interface, controls.itextrange2_setgravity, tom/ITextRange2::SetGravity, tomGravityBack, tomGravityFore, tomGravityIn, tomGravityOut, tomGravityUI
tom.h
Windows
Windows 8 [desktop apps only]
Windows Server 2012 [desktop apps only]
Msftedit.dll
Windows
19H1
ITextRange2::SetGravity
tom/ITextRange2::SetGravity
c++
APIRef
kbSyntax
COM
Msftedit.dll
ITextRange2.SetGravity

ITextRange2::SetGravity

-description

Sets the gravity of this range.

-parameters

-param Value [in]

Type: long

The new gravity value, which can be one of the following.

tomGravityUI

tomGravityBack

tomGravityFore

tomGravityIn

tomGravityOut

-returns

Type: HRESULT

If the method succeeds, it returns NOERROR. Otherwise, it returns an HRESULT error code.

-see-also

ITextRange2

ITextRange2::GetGravity