Object Model Reference : Classes : P : Page : Properties : Page.CenterY |
Property CenterY As Double
Member of Page
The CenterY property returns the y-coordinate of the center of the page.
The CenterY 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.