Hi all,
is there a function, lib or code to merge several RTFs into a single RTF file ?
Thank you.
Best Regards,
Marco Turco
SOFTWARE XP LLP
Marco Turco
SOFTWARE XP LLP
Hi all,
is there a function, lib or code to merge several RTFs into a single RTF file ?
Thank you.
RichTextBox rtbTemp = new RichTextBox();
RichTextBox rtbMerged = new RichTextBox();
string Merge(string s1, string s2)
{
rtbTemp.Rtf = s1;
rtbTemp.SelectAll();
rtbTemp.Cut();
rtbMerged.Paste();
rtbMerged.AppendText(Environment.NewLine);
rtbMerged.AppendText(Environment.NewLine);
rtbTemp.Rtf = s2;
rtbTemp.SelectAll();
rtbTemp.Cut();
rtbMerged.Paste();
return rtbMerged.Rtf;
}Interesting, I will try thank you,
anyway I think this way the RTF code will be converted into a WordPad standard so many advanced RTF information (using Word or OpenOffice) would be lost.
Hi ,
I have an idea.
Open the first RTF file with word and insert the other RTF at the end of the first document.
At the end, you save the file .
Why not ?