API Documentation > CorelDRAW > 2025-v26 > Page > IVGPage
Page.CenterY property
Gets the vertical page center coordinate
Syntax:
Property Get CenterY() As Double
Remarks:
The CenterY property returns the y-coordinate of the center of the page.
Examples:
The following VBA example creates an ellipse with a radius of 2" at the center of the active page.
Sub Test()
Dim s As Shape
Set s = ActiveLayer.CreateEllipse2(ActivePage.CenterX, ActivePage.CenterY, 2) 
End Sub