Split Input Word Document into Smaller Docs

I would like to take a Word document (.doc or .docx)
and create an RTF string in memory for each Page.

so for example if my input Word doc has 5 pages
then I will have 5 RTF strings in memory like

string Rtf1 = Page1 of Word doc converted to RTF;
string Rtf2 = Page2 of Word doc converted to RTF;
string Rtf3; etc…
string Rtf4; etc…
string Rtf5; etc…






Hi Nitin,


Thanks for your inquiry. Sure, you can achieve this using the “PageSplitter” example project. You can find PageSplitter project in Aspose.Words for .NET examples repository at GitHub. Please let us know if we can be of any further assistance.

Best regards,