## XpsDocument::AddPath method


يضيف مسارًا جديدًا إلى الصفحة النشطة.

```cpp
System::SharedPtr<XpsModel::XpsPath> Aspose::Page::XPS::XpsDocument::AddPath(System::SharedPtr<XpsModel::XpsPathGeometry> data)
```


| Parameter | Type | الوصف |
| --- | --- | --- |
| بيانات | System::SharedPtr\<XpsModel::XpsPathGeometry\> | هندسة المسار. |

### ReturnValue

تم إضافة المسار.

## انظر أيضًا

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XpsPath](../../../aspose.page.xps.xpsmodel/xpspath/)
* Class [XpsPathGeometry](../../../aspose.page.xps.xpsmodel/xpspathgeometry/)
* Class [XpsDocument](../)
* Namespace [Aspose::Page::XPS](../../)
* Library [Aspose.Page for C++](../../../)
