Gets the bounding rectangle of this item.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
SyntaxC#
Copy Code
|
|---|
public virtual Rect GetBounds () |
Visual Basic
Copy Code
|
|---|
Public Overridable Function GetBounds () As Rect |
The rectangle that bounds this item.
RemarksThe 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.
See Also