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


Creates a new solid color brush.

```cpp
System::SharedPtr<XpsModel::XpsSolidColorBrush> Aspose::Page::XPS::Features::EventBasedModifications::PageAPI::CreateSolidColorBrush(System::Drawing::Color color)
```


| Parameter | Type | Description |
| --- | --- | --- |
| color | System::Drawing::Color | The color for filled elements. |

### ReturnValue

New solid color brush.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XpsSolidColorBrush](../../../aspose.page.xps.xpsmodel/xpssolidcolorbrush/)
* Class [Color](../../../system.drawing/color/)
* Class [PageAPI](../)
* Namespace [Aspose::Page::XPS::Features::EventBasedModifications](../../)
* Library [Aspose.Page for C++](../../../)
## PageAPI::CreateSolidColorBrush(System::SharedPtr\<XpsModel::XpsColor\>) method


Creates a new solid color brush.

```cpp
System::SharedPtr<XpsModel::XpsSolidColorBrush> Aspose::Page::XPS::Features::EventBasedModifications::PageAPI::CreateSolidColorBrush(System::SharedPtr<XpsModel::XpsColor> color)
```


| Parameter | Type | Description |
| --- | --- | --- |
| color | System::SharedPtr\<XpsModel::XpsColor\> | The color for filled elements. |

### ReturnValue

New solid color brush.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XpsSolidColorBrush](../../../aspose.page.xps.xpsmodel/xpssolidcolorbrush/)
* Class [XpsColor](../../../aspose.page.xps.xpsmodel/xpscolor/)
* Class [PageAPI](../)
* Namespace [Aspose::Page::XPS::Features::EventBasedModifications](../../)
* Library [Aspose.Page for C++](../../../)
