Wrting inline RTF to a RichTextBox

R

RSH

Okay I give...I found several tutorials on how to write formatted RTF to a
RichTextBox control. BUT for some reason the box remains blank...nothing.

What am I doing wrong here??

richTextBox1.Rtf +=
@"{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset0
Arial;}}\viewkind4\uc1\pard\b\i\f0\fs20 This is bold italics.\par }";



Thanks,
Ron
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Extract the text in RTF string programmatically 7
Problems with RichTextBox.Rtf 2
Regex on RTF files 16
u 4
uncleared code 2
uncleared code 3
RichTextBox Table Borders 0
RichTextBox and Emdashes 3

Top