Skip to content

Use the Rich Text Editor API to manage rich text documents in code.

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/winforms-richedit-document-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WinForms Rich Text Editor API – How to Process Word Documents in Code

The WinForms Rich Text Editor Control allows you to deliver Microsoft Word-inspired functionality with ease. It includes comprehensive text formatting options, supports mail merge, and ships with a rich collection of end-user options you can use to create high-impact document processing solutions.

This example demonstrates how to use the Rich Text Editor 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, 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, edit, and remove content controls
  • Embed arbitrary XML data (custom XML parts) in a document

The application’s form contains the list of supported operations and editors that display the code and the result of these operations. A user can select an operation to view its code and result.

Files to Look At

Documentation

More Examples

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)