PDF Xpress for .NET - User Guide > How To > Modify PDF Document Content > Re-Order Pages |
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) { } finally { if (null != document) { document.Dispose(); } if (null != pdfXpress1) { pdfXpress1.Dispose(); } } |