move pages around

Technical support for Spire.PDF

Moderator: iceblue support

move pages around

Postby jverrelli » 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
jverrelli
 
Posts: 1
Joined: Thu Dec 22, 2011 4:52 pm

Re: move pages around

Postby Suvi.Wu » 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.

BR
Suvi
e-iceblue support
You do not have the required permissions to view the files attached to this post.
User avatar
Suvi.Wu
 
Posts: 156
Joined: Thu Oct 20, 2011 2:53 am


Return to Spire.PDF

Who is online

Users browsing this forum: No registered users and 1 guest