Vector Explicit Conversion (Vector to Point)

 

Creates a Point with the X and Y values of this vector.

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

public:
static explicit operator Point (
	Vector vector
)

Parameters

vector
Type: System.Windows::Vector

The vector to convert.

Return Value

Type: System.Windows::Point

A point with X- and Y-coordinate values equal to the X and Y offset values of vector.

The following example shows how to convert a Vector into a Point.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show: