Vector3D Explicit Conversion (Vector3D to Size3D)


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

Converts a Vector3D structure into a Size3D.

Namespace:   System.Windows.Media.Media3D
Assembly:  PresentationCore (in PresentationCore.dll)

public static explicit operator Size3D (
	Vector3D vector


Type: System.Windows.Media.Media3D.Vector3D

The vector to convert.

Return Value

Type: System.Windows.Media.Media3D.Size3D

The result of converting vector.

Because a Size3D structure cannot be negative, the absolute values of the X, Y and Z properties of the Vector3D structure are used.

.NET Framework
Available since 3.0
Return to top