Gets the bounding rectangle of this item.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
C# Copy Code |
---|
public virtual Rect GetBounds () |
Visual Basic Copy Code |
---|
Public Overridable Function GetBounds () As Rect |
The rectangle that bounds this item.
The Bounds property getter returns the result of this method. WpfDiagram treats the returned value as the logical coordinates of the item and uses it in many situations when comparing items geometrically, when looking for items intersections, and so on.
WpfDiagram Programmer's Guide | © 2024 MindFusion |