API Documentation > CorelDRAW > 2025-v26 > Page > IVGPage
Page.GetCenterPosition method
Returns the X and Y coordinates of the page center
Syntax:
Sub GetCenterPosition(ByRef CenterX As Double, ByRef CenterY As Double)
Parameters:
Name Type Description
CenterX
Double
CenterY
Double
Remarks:
The GetCenterPosition method returns the x-and y-coordinates of the center of a page.