ActiveReports 10
TransformToDescendant Method

GrapeCity.ActiveReports.Viewer.Wpf.v10 Assembly > GrapeCity.ActiveReports.Viewer.Wpf Namespace > Viewer Class : TransformToDescendant Method
The System.Windows.Media.Visual to which the coordinates are transformed.
Returns a transform that can be used to transform coordinates from the System.Windows.Media.Visual to the specified visual object descendant.
Syntax
'Declaration
 
Public Function TransformToDescendant( _
   ByVal descendant As Visual _
) As GeneralTransform
public GeneralTransform TransformToDescendant( 
   Visual descendant
)

Parameters

descendant
The System.Windows.Media.Visual to which the coordinates are transformed.

Return Value

Exceptions
ExceptionDescription
descendant is null.
The visual is not an ancestor of the descendant visual.
The visual objects are not related.
See Also

Reference

Viewer Class
Viewer Members