Skip to content

DevExpress-Examples/word-document-api-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Word Processing Document API – How to Process Word Documents in Code

The Word Processing Document API is a non-visual .NET library that allows you to generate, load, modify, import, export, and print Microsoft Word documents in code.

This example demonstrates how to use the Word Processing Document API to execute the following actions:

  • Create, load, merge, split, save, and print documents
  • Save a document in PDF and HTML formats
  • Convert an HTML file to PDF and DOCX formats
  • Format a document
  • Manage document elements (paragraphs, lists, tables, shapes, pictures, headers, footers, notes, watermarks, bookmarks, hyperlinks, and comments)
  • Insert and modify fields
  • Configure page layout settings
  • Specify the built-in and custom document properties
  • Protect and unprotect a document
  • Create character, paragraph, and linked styles
  • Import formatted text to a document
  • Add checkbox form fields to a document
  • Embed arbitrary XML data (custom XML parts) in a document
  • Create, edit, and remove content controls

The application’s form contains the list of supported operations and the editor that displays the code of these operations. A user can select an operation to view its code and click the Run button to open the resulting document in Microsoft Word.

Word Processing Document API - List of Supported Operations

Files to Look At

CodeExamples (VB: CodeExamples)

Documentation