Help Center

CTextPara2.GetFirstLineIndentmethod

Retrieves the amount used to indent the first line of a paragraph relative to the left indent. The left indent is the indent for all lines of the paragraph except the first line.

Windowsmethoddocumented

Syntax

FUNCTION GetFirstLineIndent () AS SINGLE

Return value

The first-line indentation amount in floating-point points.

Description

Retrieves the amount used to indent the first line of a paragraph relative to the left indent. The left indent is the indent for all lines of the paragraph except the first line.

Remarks

To set the first line indentation amount, call the SetIndents method.

To get and set the indent for all other lines of the paragraph (that is, the left indent), use GetLeftIndent and SetIndents.

Reference

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