---
title: "DocumentUtils.CreateRegularInscribedNGon"
url: "https://reference.aspose.com/page/net/aspose.page.xps/documentutils/createregularinscribedngon/"
product: "Aspose.Page for .NET API Reference"
description: "DocumentUtils method. Creates a path geometry representing a regular ngon inscribed in a circle"
---

## DocumentUtils.CreateRegularInscribedNGon method

Creates a path geometry representing a regular n-gon inscribed in a circle.

```csharp
public XpsPathGeometry CreateRegularInscribedNGon(int n, PointF center, float radius)
```

| Parameter | Type | Description |
| --- | --- | --- |
| n | Int32 | The number of vertices. |
| center | PointF | The center of the circle. |
| radius | Single | The radius of the circle. |

### Return Value

The XPS path geometry.

### See Also

* class [XpsPathGeometry](../../../aspose.page.xps.xpsmodel/xpspathgeometry/)
* class [DocumentUtils](../)
* namespace [Aspose.Page.XPS](../../documentutils/)
* assembly [Aspose.Page](../../../)


