MindFusion.Wpf Pack Programmer's Guide
DiagramView.DiagramToView Method (Point)
See Also
 





Transforms specified point from diagram to view coordinates.

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

 Syntax

C#  Copy Code

public Point DiagramToView (
    Point diagramPoint
)

Visual Basic  Copy Code

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

 Parameters

diagramPoint

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

 Return Value

A Point instance, which represents the view coordinates of diagramPoint.

 Remarks

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

 See Also

DiagramToView Method Overload List
DiagramView Members
DiagramView Class
MindFusion.Diagramming.Wpf Namespace