TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Mohamed Kamal
NA
4
2k
How to add a text to Word document with font color using C#
May 9 2018 3:56 AM
I have a word document and I want to add some words to the end of it with font color using C#, any help ?
I tried to use the following code but it don't work
doc1.Words[i].InsertAfter(
"Text to be added"
);
doc1.Words[i].Font.ColorIndex = WdColorIndex.wdBlue;
Reply
Answers (
2
)
Datetimepicker format insert into sql problem
Winform draws a cross red line by exception