Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng 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
Joined
Jan 29, 2013
Messages
261
Location
US
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
 
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

Back
Top