Megosztás a következőn keresztül:


CRichEditView::GetParaFormatSelection

Call this function to get the paragraph formatting attributes of the current selection.

PARAFORMAT2& GetParaFormatSelection( );

Return Value

A PARAFORMAT2 structure which contains the paragraph formatting attributes of the current selection.

Remarks

For more information, see EM_GETPARAFORMAT message and PARAFORMAT2 structure in the Windows SDK.

Requirements

Header: afxrich.h

See Also

Reference

CRichEditView Class

Hierarchy Chart

CRichEditView::GetCharFormatSelection

CRichEditView::SetParaFormat

CRichEditCtrl::GetParaFormat

Other Resources

CRichEditView Members