NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Color.ToKnownColor

Returns the KnownColor value for this color, if it is based on a KnownColor.

[Visual Basic]
Public Function ToKnownColor() As KnownColor
[C#]
public KnownColor ToKnownColor();
[C++]
public: KnownColor ToKnownColor();
[JScript]
public function ToKnownColor() : KnownColor;

See Also

Color Structure | Color Members | System.Drawing Namespace