Object Model Reference : Classes : P : Page : Properties : Page.CenterX |
Property CenterX As Double
Member of Page
The CenterX property returns the x-coordinate of the center of the page.
The CenterX property returns a read-only value.
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 |
Copyright 2013 Corel Corporation. All rights reserved.