## XpsDocument::CreatePathGeometry() method


创建一个新的路径几何体。

```cpp
System::SharedPtr<XpsModel::XpsPathGeometry> Aspose::Page::XPS::XpsDocument::CreatePathGeometry()
```


### ReturnValue

新路径几何体。
## 备注



.
## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XpsPathGeometry](../../../aspose.page.xps.xpsmodel/xpspathgeometry/)
* Class [XpsDocument](../)
* Namespace [Aspose::Page::XPS](../../)
* Library [Aspose.Page for C++](../../../)
## XpsDocument::CreatePathGeometry(System::SharedPtr\<System::Collections::Generic::List\<System::SharedPtr\<XpsModel::XpsPathFigure\>\>\>) method


创建一个包含指定路径图形列表的新的路径几何体。

```cpp
System::SharedPtr<XpsModel::XpsPathGeometry> Aspose::Page::XPS::XpsDocument::CreatePathGeometry(System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<XpsModel::XpsPathFigure>>> pathFigures)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| pathFigures | System::SharedPtr\<System::Collections::Generic::List\<System::SharedPtr\<XpsModel::XpsPathFigure\>\>\> | 路径图形的列表。 |

### ReturnValue

新路径几何体。

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XpsPathGeometry](../../../aspose.page.xps.xpsmodel/xpspathgeometry/)
* Class [List](../../../system.collections.generic/list/)
* Class [XpsPathFigure](../../../aspose.page.xps.xpsmodel/xpspathfigure/)
* Class [XpsDocument](../)
* Namespace [Aspose::Page::XPS](../../)
* Library [Aspose.Page for C++](../../../)
## XpsDocument::CreatePathGeometry(System::String) method


创建一个使用简写形式指定的新的路径几何体。

```cpp
System::SharedPtr<XpsModel::XpsPathGeometry> Aspose::Page::XPS::XpsDocument::CreatePathGeometry(System::String abbreviatedGeometry)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| abbreviatedGeometry | System::String | 路径几何体的简写形式。 |

### ReturnValue

新路径几何体。

## 另见

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