Changing line thickness of tables

Hi,

My compiler (C#) seems to be taking umbrage to the following line of code:

Aspose.Slides.Table tableForData = srcslide.Shapes.AddTable(500, 2500, 4000, 1300, 6, NumberOfRows + 1, 1, Color.Black);

The compiler says that "Color does not exist in the current context". My program ran fine with the following line in place of this:

Aspose.Slides.Table tableForData = srcslide.Shapes.AddTable(500, 2500, 4000, 1300, 6, NumberOfRows + 1);

When added the 7th parameter to change the line thickness, I was told that there was no overload for AddTable() with only 7 arguments, so I added the 'Color' parameter....

How do I fix this?

I think I figured it out...replace e.g., "Color.Black" w/

System.Drawing.Color.Black"