Skip to content

DevExpress-Examples/word-document-api-use-layout-api-to-manage-document-pages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Files to Look At

Program.cs (VB: Program.vb)