rtf

  •  09-18-2008, 4:00 PM

    rtf

    Please check out the following code.  How come rtf1 and rtf2 are different? Is there a way to get a loaded rtf from cuteEditor?
    Thanks.
     
    string rtf1 = @"{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset0 arial;}}{\colortbl ;\red0\green0\blue0;}\viewkind4\uc1\pard\qj\cf1\f0\fs20 test1234567890test\par}";
            txtComments.LoadRTF(rtf1);
            CuteEditor.Convertor.RTF.HTML2RTF html2rtf = new CuteEditor.Convertor.RTF.HTML2RTF(txtComments.XHTML);
            string rtf2 = html2rtf.RTF;
View Complete Thread