Hi,
In SQL Server 2008 r2 store RTF in text filed. How to convert it into plain text. RTF contain multilingual data i.e. hindi & english.
Thanks
Printable View
Hi,
In SQL Server 2008 r2 store RTF in text filed. How to convert it into plain text. RTF contain multilingual data i.e. hindi & english.
Thanks
There may well be other ways that I'm not aware of, e.g. using the Windows API or a third-party library, but this is one case where you may need to perform the heinous act of using a hidden control to avoid laborious processing. You can assign your RTF data to the Rtf property of a RichTextBox and then get the contained plain text from its Text property.
Using System.Windows.Forms.RichTextBox() class get data in plain text but unable to apply "chanakya font" in it.