CRichEditCtrl::GetParaFormat

DWORD GetParaFormat( PARAFORMAT& pf ) const;

Return Value

The dwMask data member of pf. It specifies the paragraph formatting attributes that are consistent throughout the current selection.

Parameters

pf

Pointer to a PARAFORMAT structure to hold the paragraph formatting attributes of the current selection.

Remarks

Call this function to get the paragraph formatting attributes of the current selection. If more than one paragraph is selected, pf receives the attributes of the first selected paragraph. The return value specifies which attributes are consistent throughout the selection.

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

CRichEditCtrl OverviewClass MembersHierarchy Chart

See Also   CRichEditCtrl::SetParaFormat, CRichEditCtrl::GetSelectionCharFormat