Color.FromName
Color.FromName method
Creates a Color
structure from the specified name of a predefined color.
public static Color FromName(string name)
Parameter | Type | Description |
---|---|---|
name | String | A string that is the name of a predefined color. Valid names are the same as the names of the elements of the KnownColor enumeration. |
Return Value
The Color
that this method creates.
See Also
- struct Color
- namespace Aspose.PSD
- assembly Aspose.PSD