[]
Gets the KnownColor value of this Color structure.
public KnownColor ToKnownColor()
Public Function ToKnownColor() As KnownColor
Type | Description |
---|---|
KnownColor | An element of the KnownColor enumeration, if the Color is created from a predefined color by using the FromKnownColor method; otherwise, 0. |
Invoke this function only if the Type is ARGB and IsKnownColor() is true
.
The Tint value isn't applied to the result.