We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

How can I copy a particular page from a document ?

I have a couple documents. And inside each document I need to get a particular page. I want to then output the combination of sections (pages) into a .docx file.

Is there some one to

Document d = SomeDocument.GetPage(4);

??



1 Reply

BP Bhuvaneswari P Syncfusion Team March 10, 2009 07:33 AM UTC

Hi Matt,

Thank you for your interest in Syncfusion products.

We can't access the document pages using DocIO. DocIO deals only with sections and paragraphs wise. Since using DocIO we can just insert the content but flowing content [page wise] will be detected after opening in MS word. If your intention is to combine the sections then please use cloning and merging concept to copy and paste particular section into another document either doc or docx file.

Please have a look into our sample browser sample regarding this feature:
My Documents\Syncfusion\EssentialStudio\x.x.x.x\Windows\DocIO.Windows\Samples\2.0\Insert Content\Clone and Merge\CS

Please try this concept and let us know if this helps you.

Best Regards,
Bhuvana


Loader.
Live Chat Icon For mobile
Up arrow icon