Aspose::Page::Drawing::Color::FromName method
Color::FromName method
Creates a T:Aspose::Page::Drawing::Color structure from the specified name of a predefined color.
static Aspose::Page::Drawing::Color Aspose::Page::Drawing::Color::FromName(System::String name)
Parameter | Type | Description |
---|---|---|
name | System::String | A string that is the name of a predefined color. Valid names are the same as the names of the elements of the T:System::Drawing::KnownColor enumeration. |
ReturnValue
The T:Aspose::Page::Drawing::Color that this method creates.
See Also
- Class Color
- Class String
- Class Color
- Namespace Aspose::Page::Drawing
- Library Aspose.Page for C++