Free Support Forum - aspose.com

Line and Column number for characters in Word Documents

Hi,

Is there any method to obtain the line and column of a character from a word document using Aspose Words.

In MS Word the line and the column of the cursors position are displayed in the status bar.

Thanks


Hi Adrian,


Thank you for your inquiry.

MS Word document is a flow document and it does not contain any information about its layout into lines and pages. Our Rendering Engine layouts documents into lines and pages and internally it is possible to determine position of a particular node. But unfortunately, there is no public API, which allows you to determine the position of the particular node on page. You can leave your suggestions regarding this feature in the following blog.
http://www.aspose.com/blogs/aspose-products/aspose-words-product-family/archive/2008/12/01/where-on-a-page-is-my-paragraph.html

Also, I linked your request to the appropriate issue. You will be notified as soon as it is resolved.

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.