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( ); } |