converting compressed Rich text (C#)
- by Code Smack
Hello,
I have a string with CompressedRichText in it. I want to uncompressed it to standard RTF and then to plain Text.
I am using VS 2008 C#
Windows Application.
I found references to C++ code to do it, but nothing directly in C#.
here is a sample of what I am thinking... not much code though...
private string _CompressedRichText = "5A46751234E1234A3214C12D34213412346F4";
private void button1_Click(object sender, EventArgs e)
{
//Convert to Uncompressed RTF
richTextBox1.Text = //Some action
//Convert to text
textBox1.Text = //some action
}
This will at least give you an example of what I am thinking.