Table of contents
TOC
Collapse the table of content
Expand the table of content

Page.Move Method (Publisher)

office 365 dev account|Last Updated: 8/24/2017
|
3 Contributors

Moves the specified page to the specified index in the Pages collection.

Syntax

expression. Move( Page, After)

_expression_A variable that represents a Page object.

Parameters

NameRequired/OptionalData TypeDescription
PageRequiredLongThe index number of the Pages collection where the specified page will be moved.
AfterOptionalBooleanTrue if the page will be inserted after the specified index number of the Pages collection specified by the Page parameter. Deafult is True.

Example

This example moves the first page of the publication before the third page of the publication. This example assumes that there are at least three pages in the document.

ActiveDocument.Pages(1).Move page:=3, After:=False
© 2018 Microsoft