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

## XpsPath::set_Stroke method


Returns/sets the brush used to draw the stroke.

```cpp
void Aspose::Page::XPS::XpsModel::XpsPath::set_Stroke(System::SharedPtr<XpsBrush> value)
```

## See Also

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