RectangleD.Union(RectangleD, RectangleD) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates the smallest possible third rectangle that can contain both of two rectangles that form a union.
public:
static Microsoft::VisualStudio::Modeling::Diagrams::RectangleD Union(Microsoft::VisualStudio::Modeling::Diagrams::RectangleD first, Microsoft::VisualStudio::Modeling::Diagrams::RectangleD second);
public static Microsoft.VisualStudio.Modeling.Diagrams.RectangleD Union (Microsoft.VisualStudio.Modeling.Diagrams.RectangleD first, Microsoft.VisualStudio.Modeling.Diagrams.RectangleD second);
static member Union : Microsoft.VisualStudio.Modeling.Diagrams.RectangleD * Microsoft.VisualStudio.Modeling.Diagrams.RectangleD -> Microsoft.VisualStudio.Modeling.Diagrams.RectangleD
Public Shared Function Union (first As RectangleD, second As RectangleD) As RectangleD
Parameters
- first
- RectangleD
A rectangle to union.
- second
- RectangleD
A rectangle to union.
Returns
A third RectangleD structure that contains both of the two rectangles that form the union.