Previous Document Next Document
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 code example creates an ellipse with a radius of 2 inches 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 2007 Corel Corporation. All rights reserved.