Previous Document Next Document

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


Page.CenterX

Property CenterX As Double

Description

Member of Page

The CenterX property returns the x-coordinate of the center of the page.

The CenterX 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.