API Documentation > CorelDRAW > 2025-v26 > Ellipse > IVGEllipse
Ellipse.CenterX property
Gets or sets the horizontal ellipse center position
Syntax:
Property Get CenterX() As Double
Property Let CenterX(ByVal Value As Double)
Remarks:
The CenterX property returns or specifies the position of the x-coordinate for the center of an ellipse, arc, or pie. This is not the same as the geometrical center of the shape for an arc or a pie.
Examples:
The following VBA example moves the ellipse so that its center appears at the left side of the current page.
Sub Test()
ActiveShape.Ellipse.CenterX = 0 
End Sub