API Documentation > CorelDRAW > 2025-v26 > Rect > IVGRect
Rect.Union method
Creates a rectangle that encloses the two rectangles
Syntax:
Function Union(ByVal Rect As Rect) As Rect
Parameters:
Name Type Description
Rect
Remarks:
The Union method creates a bounding box that encloses two other bounding boxes.