## DocumentUtils::CreateRectangle method


Erstellt eine Pfadgeometrie, die ein Rechteck darstellt.

```cpp
System::SharedPtr<XpsModel::XpsPathGeometry> Aspose::Page::XPS::DocumentUtils::CreateRectangle(System::Drawing::RectangleF rectangle)
```


| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| Rechteck | System::Drawing::RectangleF | Das Rechteck. |

### ReturnValue

Die [XPS](../../) Pfadgeometrie.

## Siehe auch

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XpsPathGeometry](../../../aspose.page.xps.xpsmodel/xpspathgeometry/)
* Class [RectangleF](../../../system.drawing/rectanglef/)
* Class [DocumentUtils](../)
* Namespace [Aspose::Page::XPS](../../)
* Library [Aspose.Page for C++](../../../)
