Search
ComponentBase.ToParent Method
See Also
 





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

Namespace: MindFusion.Diagramming.Components
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public Point ToParent (
    ComponentBase parent,
    Point point
)

Visual Basic  Copy Code

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

 Parameters

parent
A ComponentBase representing a direct or indirect parent.
point

The local Point to convert.

 Return Value

A Microsoft.Maui.Graphics.Point representing the specified point in the specified parent's coordinate space.

 Remarks

This method throws an exception if the specified component is null or it does not represent a parent of the current component.

 See Also