Help Center

CTextPara2.SetSpaceBeforemethod

Sets the amount of space preceding a paragraph.

Windowsmethoddocumented

Syntax

FUNCTION SetSpaceBefore (BYVAL Value AS SINGLE) AS HRESULT

Parameters

NameDescription
ValueNew space-before value, in floating-point points.

Return value

If the method succeeds, it returns S_OK. If the method fails, it returns one of the following COM error codes.

Description

Sets the amount of space preceding a paragraph.

Reference

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