Rectangle.Truncate

Rectangle.Truncate method

Converts the specified RectangleF to a Rectangle by truncating the RectangleF values.

public static Rectangle Truncate(RectangleF value)
ParameterTypeDescription
valueRectangleFThe RectangleF to be converted.

Return Value

A new Rectangle.

See Also