dimanche 1 février 2015

Check if RichTextBox has formattng


Vote count:

0




Is there a way to detect if there is formatting or not (i.e. Rich) anywhere in a RichTextBox?


I'd like to write RichTextBox.Rtf is there is, and RichTextBox.Text if there isn't.


I came across a post that suggested checking the SelectionFont after selecting all text, but I have no idea how to accomplish that.


Thanks!



asked 12 secs ago







Check if RichTextBox has formattng

Aucun commentaire:

Enregistrer un commentaire