string to richtext format
-
Easiest way of achieving this is: Create an object of type RichTextBox Set the Text to your non-RTF text to your RTFtextbox. Get the RTF text by using the RTF property of the textbox. - Malhar
This is a quick-and-dirty solution. You should use some "manual" conversion. ___________________________________ Tozzi is right: Gaia is getting rid of us. My Blog [ITA]
-
This is a quick-and-dirty solution. You should use some "manual" conversion. ___________________________________ Tozzi is right: Gaia is getting rid of us. My Blog [ITA]
-
This is a quick-and-dirty solution. You should use some "manual" conversion. ___________________________________ Tozzi is right: Gaia is getting rid of us. My Blog [ITA]
You should use a manual approach if performance is important and the text is simple (limited formatting). If low maintenance or high reliability is important, use the RichTextBox. There is no point in writing code already provided by Windows - you will simply have more code to introduce bugs into.