BCGSoft Professional Editor for MFC
void CBCGPEditCtrl::ExportToRTF ( CString &  strRTF,
CArray< COLORREF, COLORREF & > &  arrClrTbl 
)
protected

Exports text from edit control to a buffer in RTF format.

Use this method to export text from edit control to a text buffer in RTF format preserving syntax coloring.

Parameters
strRTFDestination text string.
arrClrTblColor table.