API Documentation > CorelDRAW > 2025-v26 > Rect > IVGRect
Rect.GetRect method
Gets the rectangle position and size
Syntax:
Sub GetRect(ByRef x As Double, ByRef y As Double, ByRef Width As Double, ByRef Height As Double)
Parameters:
Name Type Description
x
Double
y
Double
Width
Double
Height
Double
Remarks:
The GetRect method returns the position and size of a bounding box.