RectangleExtensions.ToGdiRectangle

ToGdiRectangle(Rectangle)

Converts the Rectangle to the Rectangle.

public static Rectangle ToGdiRectangle(Rectangle rectangle)
ParameterTypeDescription
rectangleRectangleThe rectangle to convert.

Return Value

The converted Rectangle.

See Also


ToGdiRectangle(RectangleF)

Converts the RectangleF to the Rectangle.

public static RectangleF ToGdiRectangle(RectangleF rectangle)
ParameterTypeDescription
rectangleRectangleFThe rectangle to convert.

Return Value

The converted RectangleF.

See Also