API Documentation > CorelDRAW > 2025-v26 > Rectangle > IVGRectangle
Rectangle.CornerLowerRight property
Gets or sets the rectangle's lower right corner roundness
Syntax:
Property Get CornerLowerRight() As Long
Property Let CornerLowerRight(ByVal Value As Long)
Remarks:
The CornerLowerRight property returns or specifies the roundness of the lower-right corner of a rectangle. The value for the roundness ranges from 0 (a cusp corner) to 100 (the maximum corner radius, which is half the length of the shortest side).
Examples:
The following VBA example determines whether the selected rectangle has any rounded corners.
Sub Test()
Dim r As Rectangle
If ActiveShape.Type = cdrRectangleShape Then
  Set r = ActiveShape.Rectangle
  If r.CornerLowerRight = 0 And r.EqualCorners Then

 MsgBox "The rectangle does not have rounded corners."
  Else

 MsgBox "The rectangle has rounded corners."
  End If
Else
  MsgBox "The selected shape is not a rectangle."
End If 
End Sub