none
How to set bold, italic & underline RRS feed

  • Question

  • hi, i need to set a RichTextBox's FontStyle property(Bold, Italic, Underline) according conditions.

    I mean i want to do something like the following:

    If(bold)
    RichTextBox1.Bold=True;
    If(underline)
    RichTextBox1.Underline=True;
    If(italic)
    RichTextBox.Italic=True;

     

    I know that this kind of code is wrong. it just what i need to do. plz help me

    Monday, December 5, 2011 8:29 PM

Answers

  • Your question should be posted in the appropriate MSDN forum.  This is the Training and Certification forum (i.e. questions pertaining to Microsoft Certifications go here).
    Monday, December 5, 2011 9:07 PM
    Answerer