Vector::Subtract Method (Vector, Vector)

 

Subtracts the specified vector from another specified vector.

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

public:
static Vector Subtract(
	Vector vector1,
	Vector vector2
)

Parameters

vector1
Type: System.Windows::Vector

The vector from which vector2 is subtracted.

vector2
Type: System.Windows::Vector

The vector to subtract from vector1.

Return Value

Type: System.Windows::Vector

The difference between vector1 and vector2.

The following example shows how to use this method to subtract a Vector structure from a Vector structure.

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

.NET Framework
Available since 3.0
Return to top
Show: