Layout API - How to perform page-based operations: get page text, page number and page count in a document, search for text on a specific page
This example demonstrates how to perform operations with a document layout using the Word Processing Document API library. Use the RichEditDocumentServer.DocumentLayout property as an entry point to the Layout API.
Files to look at: