## DocumentUtils.CreateCircularSegment method

Creates a path geometry representing a circular segment between two angles.

```csharp
public XpsPathGeometry CreateCircularSegment(PointF center, float radius, float startAngle, 
    float endAngle)
```

| Parameter | Type | Description |
| --- | --- | --- |
| center | PointF | The center of the circle. |
| radius | Single | The radius of the circle. |
| startAngle | Single | The starting angle. |
| endAngle | Single | The ending angle. |

### 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](../../../)


