## XpsDocument::CreatePath method


创建一个新的路径。

```cpp
System::SharedPtr<XpsModel::XpsPath> Aspose::Page::XPS::XpsDocument::CreatePath(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++](../../../)
