How do you install FONT COLOR in a Microsoft.Office.Interop.Word C # application?
I noticed that the ColorIndex property handles about 20 colors and does not allow me to choose from a value of RGB
This is the code that I cannot get to work:
parag.Range.Font.TextColor.RGB = Color.FromArgb(84, 141, 212).ToArgb();
An exception I get:
One of the values passed to this method or property is out of range.
Any help would be really appreciated!
source share