Page 1 of 1

DXFExport.ColorToDXF

Posted: 27 Oct 2006, 16:04
by Gibbo
Hi,
I'm using a the function

DXFExport.ColorToDXF(new System.Drawing.Color(255, 255, 220)

to my surprise it is returning 7!! When I view this with a DXF Viewer instead of being a pale yellow, I get Black!

Any ideas?

Thanks

-----
Gibbo

Posted: 30 Oct 2006, 12:51
by support
Hello Gibbo!

Please try the following line:

Code: Select all

Data.color = DXFExport.ColorToDXF(Color.Yellow);
Sergey.

please post questions to the forum or write to support@cadsofttools.com