Search
DiagramView.ViewToDiagram Method (Point)
See Also
 





Transforms specified point from view to diagram coordinates.

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

 Syntax

C#  Copy Code

public Point ViewToDiagram (
    Point viewPoint
)

Visual Basic  Copy Code

Public Function ViewToDiagram( _
    viewPoint As Point _
) As Point

 Parameters

viewPoint

An instance of the .NET Point structure, whose coordinates should be transformed and returned.

 Return Value

A .NET Point instance, which represents the document coordinates of viewPoint.

 Remarks

This method is useful when the diagram coordinates of a view point are needed, with measure unit, zoom level and scroll position considered.

 See Also