multi page rtf text to one rich text component
Posted: Tue Dec 18, 2012 5:15 am
hello.
I have a rtf text with multi page and I want to view this into rich text componet and use this code in GetValue event :System.IO.StreamReader reader = new System.IO.StreamReader("d:\\script.rtf");
string str = reader.ReadToEnd();
reader.Close();
e.Value = System.Xml.XmlConvert.EncodeName(StiRichText.PackRtf(str));
but I can to see one page of my rtf text.how can I see all the pages of my rtf text in rich text component?
thanks
I have a rtf text with multi page and I want to view this into rich text componet and use this code in GetValue event :System.IO.StreamReader reader = new System.IO.StreamReader("d:\\script.rtf");
string str = reader.ReadToEnd();
reader.Close();
e.Value = System.Xml.XmlConvert.EncodeName(StiRichText.PackRtf(str));
but I can to see one page of my rtf text.how can I see all the pages of my rtf text in rich text component?
thanks