Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Visual.TransformToAncestor Method (Visual3D)

 

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 GeneralTransform2DTo3D TransformToAncestor(
	Visual3D ancestor
)

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:
© 2017 Microsoft