Size Explicit Conversion (Size to Point)

 

Explicitly converts an instance of Size to an instance of Point.

Namespace:   System.Windows
Assembly:  WindowsBase (in WindowsBase.dll)

public static explicit operator Point (
	Size size
)

Parameters

size
Type: System.Windows.Size

The Size value to be converted.

Return Value

Type: System.Windows.Point

A Point equal in value to this instance of Size.

.NET Framework
Available since 3.0
Return to top
Show: