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