---
title: "Aspose::Page::XPS::XpsModel::XpsPath::get_Stroke method"
url: "https://reference.aspose.com/page/cpp/aspose.page.xps.xpsmodel/xpspath/get_stroke/"
product: "Aspose.Page for C++"
description: "Aspose::Page::XPS::XpsModel::XpsPath::get_Stroke method. Returns/sets the brush used to draw the stroke in C++."
---

## XpsPath::get_Stroke method


Returns/sets the brush used to draw the stroke.

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

## See Also

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