Transforms specified point from view to diagram coordinates.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
C#
![]() |
---|
public Point ViewToDiagram ( |
Visual Basic
![]() |
---|
Public Function ViewToDiagram( _ |
An instance of the .NET Point structure, whose coordinates should be transformed and returned.
A .NET Point instance, which represents the document coordinates of viewPoint.
This method is useful when the diagram coordinates of a view point are needed, with measure unit, zoom level and scroll position considered.
WpfDiagram Programmer's Guide | © 2025 MindFusion |