VintaSoft PDF .NET Plug-in Discussions
Questions, comments and suggestions concerning VintaSoft PDF .NET Plug-in.
Board index < VintaSoft Imaging < VintaSoft PDF .NET Plug-in Discussions
int iPageToMove = 4;
int iPageDest = 1;
Vintasoft.Imaging.Pdf.PdfDocument pdfDocument;
pdfDocument = new Vintasoft.Imaging.Pdf.PdfDocument(@"d:\test.pdf");
pdfDocument.Pages.Insert(iPageDest, pdfDocument.Pages[iPageToMove]);
if (iPageToMove > iPageDest)
pdfDocument.Pages.Remove(pdfDocument.Pages[iPageToMove + 1]);
else
pdfDocument.Pages.Remove(pdfDocument.Pages[iPageToMove]);
pdfDocument.SaveChanges(@"d:\testnew.pdf");
pdfDocument.Dispose();
Or is there another method to move pages within a pdf file? I don't want to swap two pages, only move one.