Previous Document Next Document
Page.MoveTo

Sub MoveTo(Index As Long)

Member of Page

The MoveTo method moves a page to the specified position in the document.

Parameters
Description
Index
specifies the new index number of the moved page in the Pages collection of CorelDRAW. A new index number repositions the page within the collection.

The following code example moves the second page to the beginning of the document:

Sub Test() 
 ActiveDocument.Pages(2).MoveTo 1 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.