ASP.NET Pack Programmer's Guide
ComponentBase.ToParent Method
See Also
 





Converts a point from local coordinates to the specified parent's coordinates.

Namespace: MindFusion.Diagramming.Components
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public PointF ToParent (
    ComponentBase parent,
    PointF point
)

Visual Basic  Copy Code

Public Function ToParent( _
    parent As ComponentBase, _
    point As PointF _
) As PointF

 Parameters

parent
A ComponentBase representing a direct or indirect parent.
point

The local PointF to convert.

 Return Value

A PointF representing the specified point in the specified parent's coordinate space.

 Remarks

This method throws an exception if the specified component is null (Nothing in Visual Basic) or it does not represent a parent of the current component.

 See Also

ComponentBase Members
ComponentBase Class
MindFusion.Diagramming.Components Namespace