Visual.TransformToAncestor Method (Visual3D)

 
System_CAPS_noteNote

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

Returns a transform that can be used to transform coordinates from the Visual to the specified Visual3D ancestor of the visual object.

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

Public Function TransformToAncestor (
	ancestor As Visual3D
) As GeneralTransform2DTo3D

Parameters

ancestor
Type: System.Windows.Media.Media3D.Visual3D

The Visual3D to which the coordinates are transformed.

Return Value

Type: System.Windows.Media.Media3D.GeneralTransform2DTo3D

A transform that can be used to transform coordinates from the Visual to the specified Visual3D ancestor of the visual object.

.NET Framework
Available since 3.0
Return to top
Show: