Color.ToKnownColor
Color.ToKnownColor method
Gets the KnownColor
value of this Color
structure.
public KnownColor ToKnownColor()
Return Value
An element of the KnownColor
enumeration, if the Color
is created from a predefined color by using either the FromName
method or the FromKnownColor
method; otherwise, 0.
See Also
- enum KnownColor
- struct Color
- namespace Aspose.Imaging
- assembly Aspose.Imaging