round method

round

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

Returns

The Size structure this method converts to.

def round(self, size):
    ...
ParameterTypeDescription
sizeSizeFThe SizeF structure to convert.

See Also