I use Microsoft.Office.Interop.PowerPoint to generate powerpoint files from a C# application.
I'm on Office 2007 SP2.
I generate charts, and I want to defines the colors of my series with something like this:
serie.Border.Color = Color.Red.ToArgb();
and I do this with different colors.
My problem is that when the slides are generated, the colors are not the same : when I define a serie in Red, it is drawn in Blue, and the Blue is rendered in Red. (The green stays green).
Isn't the ToArgb() the method to use when I want to send a color to powerpoint?
Do I have to use an other method from the Color type, or is there a manual conversion to do?