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

Free Support Forum - aspose.com

Reading Text from Print preview dialog

Hi,


I have an merged word document. I need to read the text which is present in print preview dialog.

Can you please tell us is their any way we can do this.


Hi there,

Thanks for your inquiry. Aspose.Words for .NET is a class library that enables your applications to perform a great range of document processing tasks. Aspose.Words supports DOC, DOCX, RTF, HTML, OpenDocument, PDF, XPS, EPUB and other formats. With Aspose.Words you can generate, modify, convert, render and print documents without utilizing Microsoft Word®.

Aspose.Words does not read the text from print preview. However, you can get the document’s text using Document.ToString(SaveFormat.Text) method.

If you want to read the text page by page, you can achieve this using the “PageSplitter” example project. You can find PageSplitter project in Aspose.Words for .NET examples repository at GitHub. Using this code example, you can split the document page wise and read the text page by page.

Please let us know if you have any more queries.