## PageAPI::CreateVisualBrush method


Yeni bir görsel fırça oluşturur.

```cpp
System::SharedPtr<XpsModel::XpsVisualBrush> Aspose::Page::XPS::Features::EventBasedModifications::PageAPI::CreateVisualBrush(System::SharedPtr<XpsModel::XpsContentElement> element, System::Drawing::RectangleF viewbox, System::Drawing::RectangleF viewport)
```


| Parameter | Type | Açıklama |
| --- | --- | --- |
| element | System::SharedPtr\<XpsModel::XpsContentElement\> | Bu [XPS](../../../aspose.page.xps/) öğesi (Canvas, Path veya Glyphs), görsel fırçanın Visual özelliği için. |
| viewbox | System::Drawing::RectangleF | Fırçanın kaynak içeriğinin konumu ve boyutları. |
| görünüm alanı | System::Drawing::RectangleF | Fırçanın uygulandığı bölgeyi doldurmak için (muhtemelen tekrar tekrar) uygulanan ana fırça döşemesinin bulunduğu koordinat uzayındaki bölge. |

### ReturnValue

Yeni görsel fırça.

## Ayrıca Bakınız

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XpsVisualBrush](../../../aspose.page.xps.xpsmodel/xpsvisualbrush/)
* Class [XpsContentElement](../../../aspose.page.xps.xpsmodel/xpscontentelement/)
* Class [RectangleF](../../../system.drawing/rectanglef/)
* Class [PageAPI](../)
* Namespace [Aspose::Page::XPS::Features::EventBasedModifications](../../)
* Library [Aspose.Page for C++](../../../)
