Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

System.Drawing.Color question

Status
Not open for further replies.

multicaduser

Industrial
Jan 29, 2013
261
We recently purchased a snap license and for an old grip hand it's great. In creating objects and assigning a color using System.Drawing.Color I'm a little confused by it in that it doesn't seem to be connected at all to the system color pallet. Color names from the pallet aren't valid and it doesn't accept the pallet numbers.

In searching the web it appears that System.Drawing.Color accepts names of html colors such as DarkBlue, LightCyan, etc. There seems to be very little explanation for this on so I was wondering if someone could shed a little light on it.

Thanks in advance.

NX 1899 Windows 10
 
Replies continue below

Recommended for you

The System.Drawing.Color namespace is defined by the .net framework (MS); it is completely separate from the NX color palette. There might be some overlap, but don't expect any of the System.Drawing functionality to work directly with the NXOpen API.

www.nxjournaling.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor