Word Processing Document API - Use the Layout API to Access Document Pages and Execute Operations with Them
The Layout API library contains objects, properties, and methods that allow you to access document layout elements. The Layout API is available for the non-visual Word Processing Document API library. Use the RichEditDocumentServer.DocumentLayout property to access the Layout API.
This example demonstrates how to use the Layout API to execute the following actions:
- Extract text from a specific document page
- Calculate the page count in a document
- Obtain the page number based on the document position
- Search for text on a specific document page
Important
The Universal Subscription or an additional Office File API Subscription is required to use this example in production code. For pricing information, please refer to the DevExpress Subscription page.
Program.cs (VB: Program.vb)
(you will be redirected to DevExpress.com to submit your response)