Results 1 to 3 of 3

Thread: RTF to plain text

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2004
    Location
    Kolkata, India
    Posts
    290

    RTF to plain text

    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

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    110,297

    Re: RTF to plain text

    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.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2004
    Location
    Kolkata, India
    Posts
    290

    Re: RTF to plain text

    Using System.Windows.Forms.RichTextBox() class get data in plain text but unable to apply "chanakya font" in it.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width