Search
DiagramItem.TransformDiagramToItem Method
See Also
 





Transforms a point from document coordinates to item coordinates.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public Point TransformDiagramToItem (
    Point diagramPoint
)

Visual Basic  Copy Code

Public Function TransformDiagramToItem( _
    diagramPoint As Point _
) As Point

 Parameters

diagramPoint
A System.Windows.Point in the diagram coordinate system.

 Return Value

A System.Windows.Point in the item's coordinate system.

 Remarks

This method should be used instead of Visual.TransformToDescendant because it works correctly when the item is not yet Arrange() -d.

 See Also