Converts specified rectangle from diagram to view coordinates.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
SyntaxC#
Copy Code
|
|---|
public Rect DiagramToView ( |
Visual Basic
Copy Code
|
|---|
Public Function DiagramToView( _ |
An instance of the Microsoft.Maui.Graphics.Rect structure, whose coordinates should be transformed and returned.
A Microsoft.Maui.Graphics.Rect instance, which represents the view coordinates of diagramRect.
RemarksThis method is useful when the view coordinates of a diagram location are needed, with measure unit, zoom level and scroll position considered.
See Also