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)
Parameter Type Description
size SizeF The SizeF structure to convert.

Return Value

The Size structure this method converts to.

See Also