Size.Round

Size.Round method

Converts the specified SizeF structure to a Size structure by rounding the values of the SizeF structure to the nearest integer values.

public static Size Round(SizeF size)
ParameterTypeDescription
sizeSizeFThe SizeF structure to convert.

Return Value

The Size structure this method converts to.

See Also