Size.Ceiling Method (SizeF)

 

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

Namespace:   System.Drawing
Assembly:  System.Drawing (in System.Drawing.dll)

public static Size Ceiling(
	SizeF value
)

Parameters

value
Type: System.Drawing.SizeF

The SizeF structure to convert.

Return Value

Type: System.Drawing.Size

The Size structure this method converts to.

.NET Framework
Available since 1.1
Return to top
Show: