Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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)

'Declaration
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

Supported in: 4.6, 4.5, 4, 3.5 SP1, 3.0 SP1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft