Accusoft.PdfXpress5.Net
Re-Order Pages
See Also Send Feedback
PDF Xpress 5 for .NET - User Guide > How To > Modify PDF Document Content > Re-Order Pages

Glossary Item Box

Move a page from one location in a PDF document to another by calling the MovePage method.

C# Example Copy Code
// This code demonstrates how to re-order pages in a PDF document 
Accusoft.PdfXpressSdk.PdfXpress pdfXpress1 = null;
Accusoft.PdfXpressSdk.Document document = null;
try
{
     pdfXpress1 = new PdfXpress(); 
     pdfXpress1.Initialize();
     document = new  Document(pdfXpress1, "C:\\pdfsample.pdf");
     document.MovePage(3, 0);
}
catch (System.Exception ex)
{
}
finally
{
     if ( null != document ) document.Dispose( );
     if ( null != pdfXpress1 ) pdfXpress1.Dispose( );
}

 

See Also

©2012. Accusoft Corporation. All Rights Reserved.