Aspose::Page::XPS::DocumentUtils::CreateRectangle method

DocumentUtils::CreateRectangle method

Creates a path geometry representing a rectangle.

System::SharedPtr<XpsModel::XpsPathGeometry> Aspose::Page::XPS::DocumentUtils::CreateRectangle(System::Drawing::RectangleF rectangle)
ParameterTypeDescription
rectangleSystem::Drawing::RectangleFThe rectangle.

ReturnValue

The XPS path geometry.

See Also