aewarnick Posted February 13, 2003 Posted February 13, 2003 Is it possible that I could display font from the same textbox or string in different ways. Some of the string being size 14 some being bold, italic. . . Quote C#
*Gurus* Derek Stone Posted February 13, 2003 *Gurus* Posted February 13, 2003 I believe the RichTextBox class along with its SaveFile and LoadFile methods should work quite well for that, if I understand you correctly. Quote Posting Guidelines
aewarnick Posted February 13, 2003 Author Posted February 13, 2003 I can't store the formatting along with the text in a string? Quote C#
*Gurus* Derek Stone Posted February 13, 2003 *Gurus* Posted February 13, 2003 You can store the text along with its formatting in string like so: Dim sText As String = RichTextBox1.Rtf string sText = RichTextBox1.Rtf; Quote Posting Guidelines
aewarnick Posted February 13, 2003 Author Posted February 13, 2003 When I display Rtf in a message box all I see is the rich text formatting not the actual formatted text. Quote C#
*Gurus* divil Posted February 13, 2003 *Gurus* Posted February 13, 2003 You won't get a messagebox showing rich text. That is what a Rich Textbox is for. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.