Returns the smallest possible rectangle containing both of the specified rectangles.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
C#
![]() |
---|
public static Rect UnionRects ( |
Visual Basic
![]() |
---|
Public Shared Function UnionRects( _ |
The first rectangle.
The second rectangle.
A .NET Rect instance that represents the union of the specified arguments.
This method supports the WpfDiagram infrastructure and is not intended to be used directly from your code.
WpfDiagram Programmer's Guide | © 2025 MindFusion |