DocumentUtils.CreateRectangle

DocumentUtils.CreateRectangle method

Creates a path geometry representing a rectangle.

public XpsPathGeometry CreateRectangle(RectangleF rectangle)
ParameterTypeDescription
rectangleRectangleFThe rectangle.

Return Value

The XPS path geometry.

See Also