MovePage Method
The MovePage method moves a plot document page to a different position in the page tab order.
Syntax
object.MovePage ( sourcePageIndex, destinationPageIndex )
Parameter | Type | Description |
sourcePageIndex | Variant | Required, 1-based index value of the page postion from left to right before it is moved. Valid range is integers from 1 to the total number of pages in the document. |
destinationPageIndex | Variant | Required, 1-based index value of the page postion from left to right after it is moved. Valid range is integers from 1 to the total number of pages in the document. |
Example
The following example demonstrates moving the 2nd page to the 4th position in the page list.
Document.MovePage (sourcePageIndex:=2, desitinationPageIndex:=4)
Used by: Document object