Map a point from the 3D viewport space into the 2D canvas space

Namespace: Ico.Windows.Media.Media3D
Assembly: Ico3DControlsLibrary (in Ico3DControlsLibrary.dll) Version: 10.97.212.0 (10.97.212.00)

Syntax

C#
public static Point Vieport3DToCanvas2D(
	Viewport3D viewport,
	Point3D point
)
Visual Basic
Public Shared Function Vieport3DToCanvas2D ( _
	viewport As Viewport3D, _
	point As Point3D _
) As Point
JScript
public static function Vieport3DToCanvas2D(
	viewport : Viewport3D, 
	point : Point3D
) : Point

Parameters

viewport
Type: System.Windows.Controls..::..Viewport3D
the viewport containing the point
point
Type: System.Windows.Media.Media3D..::..Point3D
the point to map

Return Value

See Also