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

Free Support Forum - aspose.com

How to find next and pervious nodes

Dear team,

How to find shapes next and previous nodes

@e503824 You can use Node.getNextSibling and Node.getPreviousSibling methods to get sibling neighbor nodes. Or you can use Node.nextPreOrder and Node.previousPreOrder methods to get neighbor nodes according to the pre-order tree traversal algorithm. Please see Aspose.Words Document Object Model for more information.