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

Free Support Forum - aspose.com

Layout information

Hey folks,

is it possible with the latest&greates Aspose.Words ( 13.4) to calculate the position of a node in the page? I’m looking for something similar to Information method and wdInformation enum offered by Microsoft Word.

Regards,
Dragos

Hi Dragos,


Thanks for your inquiry. Please check DocumentLayoutHelper and EnumerateLayoutElements projects sample from the offline samples pack. This sample demonstrates how to easily work with the layout elements of a document and access the pages, lines, spans etc.

Please check the code example at following forum link for your kind reference.
https://forum.aspose.com/t/60191

Hope this helps you. Please let us know if you have any more queries.