Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 4.0 aka C# 2010 > C# 4.0 aka C# 2010 General Discussion
|
C# 4.0 aka C# 2010 General Discussion Discussions about the C# 4.0, C# 4, Visual C# 2010 language and tool not related to any specific Wrox book
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 4.0 aka C# 2010 General Discussion section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 28th, 2012, 03:10 AM
Registered User
 
Join Date: Apr 2012
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to insert text in to a word document from Rich Text Box

I have a rich text box in my c# application and it contains different lines of text(one to many lines). I want to get those lines and insert it to a word document with the font and the font size i want. This is how it should look like.

OBSERVATIONS:
• Line 1 from the rich text box
• Line 2 from the rich text box
• Line 3 from the rich text box

i want this to happen by using interop library.

i need some sample code for this since i'm a newbie





Similar Threads
Thread Thread Starter Forum Replies Last Post
Rich Text Box aliirfan84 ASP.NET 2.0 Professional 1 February 23rd, 2007 06:35 AM
highlighting the word in rich text box AnurRS C# 0 May 31st, 2006 06:41 AM
Rich Text Box spike010101 Pro VB 6 1 September 29th, 2004 02:37 AM
RICH TEXT BOX priyanka123 VB How-To 0 May 6th, 2004 01:46 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.