Help Center

CRichEditCtx.ParaFormatmethod

Gets/sets the paragraph formatting of the current selection in a rich edit control.

Windowsmethoddocumented

Syntax

PRIVATE PROPERTY CRichEditCtx.ParaFormat () AS .PARAFORMAT

Parameters

NameDescription
pfmt(SET) A PARAFORMAT structure specifying the new paragraph formatting attributes. Only the attributes specified by the dwMask member are changed.

Return value

(GET) Returns a PARAFORMAT structure.

(SET) If the operation succeeds, the return value is a nonzero value. If the operation fails, the return value is zero.

Description

Gets/sets the paragraph formatting of the current selection in a rich edit control.

Example

(GET) PROPERTY ParaFormat () AS .PARAFORMAT (SET) PROPERTY ParaFormat (BYREF pfmt AS .PARAFORMAT)

Reference

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