Size Explicit Conversion (Size to Point)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Converts the specified Size structure to a Point structure.

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

public static explicit operator Point (
	Size size
)

Parameters

size
Type: System.Drawing.Size

The Size structure to convert.

Return Value

Type: System.Drawing.Point

The Point structure to which this operator converts.

.NET Framework
Available since 1.1
Return to top
Show: