Point Explicit Conversion (Point to Vector)

 

Creates a Vector structure with an X value equal to the point's X value and a Y value equal to the point's Y value.

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

public:
static explicit operator Vector (
	Point point
)

Parameters

point
Type: System.Windows::Point

The point to convert.

Return Value

Type: System.Windows::Vector

A vector with an X value equal to the point's X value and a Y value equal to the point's Y value.

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

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

.NET Framework
Available since 3.0
Return to top
Show: