Search
DiagramView.ViewToDiagram Method (Point)
See Also
 






Transforms specified point from view to diagram coordinates.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 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 Microsoft.Maui.Graphics.Point structure, whose coordinates should be transformed and returned.

 Return Value

A Microsoft.Maui.Graphics.Point instance, which represents the diagram 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