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 PointF DocToComponent (
    PointF docPoint,
    ComponentBase component
)

Visual Basic  Copy Code

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

 Parameters

docPoint

The point to convert.

component

The target component.

 Return Value

A PointF object representing the point in local coordinates.

 See Also