Previous Document Next Document

Object Model Reference : Classes : P : Page : Properties : Page.CenterY


Page.CenterY

Property CenterY As Double

Description

Member of Page

The CenterY property returns the y-coordinate of the center of the page.

The CenterY property returns a read-only value.

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.