We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Reading a page of Aspose.Words Doc into stream

Hi Forum,

I am trying to read each and every page of Aspose.Words Document into images and then

insert into excel file as ole objects. I am able to get images for all pages of the documnet using the SaveToImage() method in new 6.0.1 version of Aspose.Word.

However, I could not find a way to read each page of the document so that I can bind the image with appropriate data.

Please let me know if there is any way I can do this?

Thanks&Regards,

Aurabinda

Hi<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your request. There is no way to read Word document page by page using Aspose.Words.

You can only convert pages of the document to images

http://www.aspose.com/documentation/file-format-components/aspose.words-for-.net-and-java/aspose.words.document.savetoimage_overload_1.html

Why do you need to read document page by page? I think you can try using Sections in this case:

http://www.aspose.com/documentation/file-format-components/aspose.words-for-.net-and-java/sections-in-microsoft-word.html

Best regards.

Thanks Alexey. Will look into sections instead.