Help Center

CTextRange2.SetGravitymethod

Sets the gravity of this range.

Windowsmethoddocumented

Syntax

FUNCTION SetGravity (BYVAL Value AS LONG) AS HRESULT

Parameters

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

Description

Sets the gravity of this range.

Reference

  • Defined in AfxNova/CTextRange2.inc:889
  • Documented in Windows/WIndows Controls/RichEdit/CTextRange2 Class.md
  • Topic: CTextRange2 Class