Should I use this just for the spell check?

3 posts, 0 answers
  1. danparker276
    danparker276 avatar
    389 posts
    Member since:
    Aug 2010

    Posted 07 Jan 2011 Link to this post

    I just want a multi row text block with no formatting, but I need to spell check it.  I think the only or best way to do this is with this richTextBox control. Would I have to convert the result to XML or HTML and then filter out the tags?  Is there an easy output where i can just get the text?  I don't care about any of the formating, I just want boring text.
  2. danparker276
    danparker276 avatar
    389 posts
    Member since:
    Aug 2010

    Posted 07 Jan 2011 Link to this post

    Actually the txtformatProvider works pretty good.  Is there an easy way I can turn all the formatting options off and make it look like a regualr textbox?  On the right click for spell check as well?

    Edit:
    If I create a new richTextBox and enter text, it looks good.  When I import a document, it makes it look like a regular page with a blue background and scroll bars on the richTextBox .
    I'm importing like:

    rrtbDescription.Document =

     

    new TxtFormatProvider().Import(myText);

     


  3. DevCraft banner
  4. danparker276
    danparker276 avatar
    389 posts
    Member since:
    Aug 2010

    Posted 10 Jan 2011 Link to this post

    Ok, I think I'm all set, I need to set:

    rrtbDescription.Document.LayoutMode =

     

    DocumentLayoutMode.Flow;

     



    And then things are ok.
Back to Top