Color.FromKnownColor
Color.FromKnownColor method
Creates a Color structure from the specified predefined color.
public static Color FromKnownColor(KnownColor color)
Parameter | Type | Description |
---|---|---|
color | KnownColor | An element of the KnownColor enumeration. |
Return Value
The Color that this method creates.
See Also
- enum KnownColor
- struct Color
- namespace Aspose.Drawing
- assembly Aspose.Drawing.Common