## PageAPI.AddPath method

Adds a new path to the page.

```csharp
public XpsPath AddPath(XpsPathGeometry data)
```

| Parameter | Type | Description |
| --- | --- | --- |
| data | XpsPathGeometry | The geometry of the path. |

### Return Value

Added path.

### See Also

* class [XpsPath](../../../aspose.page.xps.xpsmodel/xpspath/)
* class [XpsPathGeometry](../../../aspose.page.xps.xpsmodel/xpspathgeometry/)
* class [PageAPI](../)
* namespace [Aspose.Page.XPS.Features.EventBasedModifications](../../pageapi/)
* assembly [Aspose.Page](../../../)


