BCGSoft Professional Editor for MFC
void CBCGPEditCtrl::ExportToRTF ( CString &  strBuffer)

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.

It's recommended to use the this version of this method which accepts strBuffer.

Parameters
strBufferOutput buffer in the first version of this method or source text string in the second version.