---
title: "Aspose::Page::XPS::XpsModel::XpsPath::get_Fill method"
url: "https://reference.aspose.com/page/cpp/aspose.page.xps.xpsmodel/xpspath/get_fill/"
product: "Aspose.Page for C++"
description: "Aspose::Page::XPS::XpsModel::XpsPath::get_Fill method. Returns/sets the brush used to paint the geometry specified by the Data property of the path in C++."
---

## XpsPath::get_Fill method


Returns/sets the brush used to paint the geometry specified by the Data property of the path.

```cpp
System::SharedPtr<XpsBrush> Aspose::Page::XPS::XpsModel::XpsPath::get_Fill()
```

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XpsBrush](../../xpsbrush/)
* Class [XpsPath](../)
* Namespace [Aspose::Page::XPS::XpsModel](../../)
* Library [Aspose.Page for C++](../../../)
