Previous Document Next Document

Understanding the CorelDRAW object model : Working with pages : Reordering pages


Reordering pages

A page can be moved to another location in a document by using its MoveTo method. The following VBA code moves page 2 to the position of page 4:

ActiveDocument.Pages(2).MoveTo 4

 
Activating a page in an inactive document does not activate that document. To activate a document, you must use its Activate method (see Activating documents).

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.