ActiveReports 12
TransformToVisual Method

GrapeCity.ActiveReports.Viewer.Wpf.v12 Assembly > GrapeCity.ActiveReports.Viewer.Wpf Namespace > Viewer Class : TransformToVisual 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.
Syntax
'Declaration
 
Public Function TransformToVisual( _
   ByVal visual As Visual _
) As GeneralTransform
public GeneralTransform TransformToVisual( 
   Visual visual
)

Parameters

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

Return Value

Exceptions
ExceptionDescription
visual is null.
The visual objects are not related.
See Also

Reference

Viewer Class
Viewer Members