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

Free Support Forum - aspose.com

Finding text and locate on which page

I am using the document.Range.Replace method to highligh search results. This is working fine.

Now I want to detemine on which pages of the document the search results are located. Is there a way to do this?

The problem is that I am rendering the document as separate bitmaps (per page) and the user should be able to step through the pages that contain one or more search results.

Hi

Thank you for your interest in Aspose.Words. MS Word document is flow document and does not contain any information about its layout into lines and pages. Our Rendering Engine layouts documents into lines and pages.
But unfortunately, there is no public API, which allows you to determine where page starts or ends. Also, there is no way to find the position of the particular node on page. Your request has been linked to the appropriate issue. You will be notified as soon as this feature is supported.

Best regards,

The issues you have found earlier (filed as WORDSNET-2978) have been fixed in this .NET update and this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.
(53)