Accusoft.PdfXpress7.Net
MovePage Method




An integer value which represents the index (page number) of the page to be moved.
An integer value which represents the index where the page is moved to.
Moves a page from one index location in the Document to another.
Syntax
'Declaration
 
Public Sub MovePage( _
   ByVal pageNumber As Integer, _
   ByVal toPageNumber As Integer _
) 
'Usage
 
Dim instance As Document
Dim pageNumber As Integer
Dim toPageNumber As Integer
 
instance.MovePage(pageNumber, toPageNumber)
public void MovePage( 
   int pageNumber,
   int toPageNumber
)
public: void MovePage( 
   int pageNumber,
   int toPageNumber
) 
public:
void MovePage( 
   int pageNumber,
   int toPageNumber
) 

Parameters

pageNumber
An integer value which represents the index (page number) of the page to be moved.
toPageNumber
An integer value which represents the index where the page is moved to.
Remarks

This method will move a single page within a Document object that contains a PDF that has been successfully opened into memory.

The toPageNumber value is the index where the the page will be moved. The page that currently resides at this location will be shifted behind the moved page.

To move a page to the beginning of the document, use a toPageNumber parameter value of 0. To move a page to the last page of the document, use a toPageNumber parameter value of 1 beyond the last valid page number. For example, with a document that contains 5 pages, use a toPageNumber parameter of 5 to move a page to the end of the document.

See Also

Reference

Document Class
Document Members

 

 


©2018. Accusoft Corporation. All Rights Reserved.

Send Feedback