Aspose::Page::XPS::Features::EventBasedModifications::PageAPI::CreateSolidColorBrush method

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

创建一个新的纯色画刷。

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

ReturnValue

新的纯色画刷。

另见

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

创建一个新的纯色画刷。

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

ReturnValue

新的纯色画刷。

另见