Help Center

CTextRow.SetAlignmentmethod

Sets the horizontal alignment of a row.

Windowsmethoddocumented

Syntax

FUNCTION SetAlignment (BYVAL Value AS LONG) AS HRESULT

Parameters

NameDescription
ValueThe new horizontal alignment. It can be one of the following values.

Return value

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

Description

Sets the horizontal alignment of a row.

Reference

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