I would like to be able to save multiple pages from a Word document to a single PDF. SaveToPdf has an overload for saving a range of pages, but there doesn’t appear to be a way to save multiple non-contiguous pages to the same PDF. Is this possible? For example, say I have a 10 page document and I want to save pages 1, 5, and 8 to a single PDF.
Thanks for your request. You are right, currently there is no way to achieve what you need using Aspose.Words. We consider adding this functionality in the future. As a workaround you can try saving all needed pages to different PDF and then concatenating these pages using Aspose.Pdf.Kit.
Also, you can try removing specific pages from PDF document using Aspose.Pdf.Kit. Please see the following link for more information: https://docs.aspose.com/pdf/net/working-with-documents/
Hope this helps.
Best regards,
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.