## PageAPI.InsertCanvas method

Inserts a new canvas to the page at *index* position.

```csharp
public XpsCanvas InsertCanvas(int index)
```

| Parameter | Type | Description |
| --- | --- | --- |
| index | Int32 | Position at which a new canvas should be inserted. |

### Return Value

Inserted canvas.

### See Also

* class [XpsCanvas](../../../aspose.page.xps.xpsmodel/xpscanvas/)
* class [PageAPI](../)
* namespace [Aspose.Page.XPS.Features.EventBasedModifications](../../pageapi/)
* assembly [Aspose.Page](../../../)


