G
Guest
I need to merge the content of two richtextboxes.
It can not be accomplished using the RichtTextBox.Text field because all
format will be lost. So it has to be done using the RichtTextBox.Rtf field,
but I loose part of it as follows:
private void MergeRtf()
{
// having the RichTextBox controls.
string Rtf = "";
int nInsertIndex = 50;
RichtTextBox1.SelectionStart = 0;
RichtTextBox1.SelectionLength = nInsertIndex;
Rtf = RichtTextBox1.Select
RichtTextBox1.Text = "";
}
It can not be accomplished using the RichtTextBox.Text field because all
format will be lost. So it has to be done using the RichtTextBox.Rtf field,
but I loose part of it as follows:
private void MergeRtf()
{
// having the RichTextBox controls.
string Rtf = "";
int nInsertIndex = 50;
RichtTextBox1.SelectionStart = 0;
RichtTextBox1.SelectionLength = nInsertIndex;
Rtf = RichtTextBox1.Select
RichtTextBox1.Text = "";
}