Search
CompositeNode.DocToComponent Method
See Also
 





Converts a point from document coordinates to the local coordinate space of a component inside this node.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public Point DocToComponent (
    Point docPoint,
    ComponentBase component
)

Visual Basic  Copy Code

Public Function DocToComponent( _
    docPoint As Point, _
    component As ComponentBase _
) As Point

 Parameters

docPoint

The point to convert.

component

The target component.

 Return Value

A Microsoft.Maui.Graphics.Point instance representing the point in local coordinates.

 See Also