CRichEditCtx.GetParaFormatmethod
Syntax
FUNCTION GetParaFormat () AS .PARAFORMAT
Also documented as
ParaFormat — one description covers them all.Parameters
| Name | Description | |
|---|---|---|
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:1522
- Documented in Windows/WIndows Controls/RichEdit/CRichEditCtx Class.md
- Topic: CRichEditCtx Class