I have a rich text box in my C # application and it contains different lines of text (from one to many lines). I want to get these lines and paste them into a Word document with the font and font size that I want. Here's how it should look.
NOTES:
- Line 1 from rich text box
- Line 2 of a rich text box
- Line 3 of a rich text box
I want this to happen using the interop library.
I need some sample code for this since I'm a beginner
source
share