API Documentation > CorelDRAW > 2025-v26 > Segment > IVGSegment
Segment.GetBoundingBox method
Gets the bounding rectangle around the segment
Syntax:
Function GetBoundingBox(ByRef x As Double, ByRef y As Double, ByRef Width As Double, ByRef Height As Double) As Boolean
Parameters:
Name Type Description
x
Double
y
Double
Width
Double
Height
Double
Remarks:
The GetBoundingBox method returns the bounding rectangle around a segment.