Aspose::Page::XPS::XpsDocument::CreateSolidColorBrush 方法

XpsDocument::CreateSolidColorBrush(System::Drawing::Color) method

创建一个新的纯色画刷。

System::SharedPtr<XpsModel::XpsSolidColorBrush> Aspose::Page::XPS::XpsDocument::CreateSolidColorBrush(System::Drawing::Color color)
ParameterType描述
colorSystem::Drawing::Color填充元素的颜色。

ReturnValue

新的纯色画刷。

另见

XpsDocument::CreateSolidColorBrush(System::SharedPtr<XpsModel::XpsColor>) method

创建一个新的纯色画刷。

System::SharedPtr<XpsModel::XpsSolidColorBrush> Aspose::Page::XPS::XpsDocument::CreateSolidColorBrush(System::SharedPtr<XpsModel::XpsColor> color)
ParameterType描述
colorSystem::SharedPtr<XpsModel::XpsColor>填充元素的颜色。

ReturnValue

新的纯色画刷。

另见