Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies within .NET ( C#, VB.NET, ASP.NET, .NET Core) application and Java (J2SE and J2EE) application.

Wed Feb 29, 2012 5:19 pm

i have a pdf file that i would like to read the content of that pdf file, then base on the content i shift the page around. for example, i have page 1-5. in page one it has conetent as info1, page 2 has info2, page 3 has info3, etc.. can i use this to say if you see this info3, please move this page to be page 2 and move page 2 down? thanks

Posts: 1
Joined: Thu Dec 22, 2011 4:52 pm

Thu Mar 01, 2012 3:38 am

Hi jverrelli,

Thanks for evaluating Spire.PDF.

You can reorder the pages of a PDF file with the method " document.Pages.ReArrange(range)". I also attached you a demo,please have a look.

If you still have any other questions,please feel free to contact us at any time.

Have a great day.

e-iceblue support
You do not have the required permissions to view the files attached to this post.
User avatar

Posts: 154
Joined: Thu Oct 20, 2011 2:53 am

Return to Spire.PDF