ActiveReports 14 .NET Edition
GrapeCity.ActiveReports.Viewer.Wpf Assembly / GrapeCity.ActiveReports.Viewer.Wpf Namespace / Viewer Class / TransformToDescendant Method
The System.Windows.Media.Visual to which the coordinates are transformed.

In This Topic
    TransformToDescendant Method
    In This Topic
    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