CRichEditCtrl::SetParaFormat

BOOL SetParaFormat( PARAFORMAT& pf );

Return Value

Nonzero if successful; otherwise, 0.

Parameters

pf

PARAFORMAT structure containing the new default paragraph formatting attributes.

Remarks

Call this function to set the paragraph formatting attributes for the current selection in this CRichEditCtrl object. Only the attributes specified by the dwMask member of pf are changed by this function.

For more information, see EM_SETPARAFORMAT message and PARAFORMAT structure in the Win32 documentation.

CRichEditCtrl OverviewClass MembersHierarchy Chart

See Also   CRichEditCtrl::GetParaFormat, CRichEditCtrl::SetSelectionCharFormat