Reordering and removing/hiding specific PDF pages

I am wondering if there is a way in Aspose.pdf to reorder pages in a pdf document?


Also I need a way to “hide” pdf pages but not delete them. I am making a presentation app and people can uncheck a page so it is not included in the final document but I do not want to delete the page because the user may want to add that page back at a later time. Is there a way in Aspose.pdf to do that?

Hi Andrew,

Thank you for using our products.

Ahud07:

I am wondering if there is a way in Aspose.pdf to reorder pages in a pdf document?

I am sorry to share with you that reorder pages feature is currently not available in Aspose.Pdf for .NET. However, you can achieve this functionality by splitting PDF file in individual pages and then concatenate PDF files as per your required order. For more details, kindly visit the following documentation links:

Ahud07:

Also I need a way to "hide" pdf pages but not delete them. I am making a presentation app and people can uncheck a page so it is not included in the final document but I do not want to delete the page because the user may want to add that page back at a later time. Is there a way in Aspose.pdf to do that?

Hide pages feature is also not available in Aspose.Pdf for .NET at the moment. However, you can delete pages you want to hide after saving these pages separately and later you can add pages as per your requirement. For more details, please visit the following documentation links:

Please feel free to contact support in case you need any further assistance.

Thanks & Regards,

Hi Andrew,


Thanks for your interest in our products.

Adding more to Rashid’s comments, currently Aspose.Pdf for .NET does not support the feature to hide the pages of PDF document however you may consider adding some blank image as a watermark to the pages which you do not want to display to the user. Or you may create the copy of original PDF file and remove the pages which you do not want to display to the user. Please visit the following link for information on Working with Stamps and Watermarks