p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/)
-   C# 4.0 aka C# 2010 General Discussion (http://p2p.wrox.com/c-4-0-aka-c-2010-general-discussion-564/)
-   -   How to insert text in to a word document from Rich Text Box (http://p2p.wrox.com/c-4-0-aka-c-2010-general-discussion/87398-how-insert-text-word-document-rich-text-box.html)

aroshlakshan April 28th, 2012 03:10 AM

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


All times are GMT -4. The time now is 03:27 PM.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
2013 John Wiley & Sons, Inc.