Rich Text Editor Examples
- 3 minutes to read
This section contains a list of examples, grouped by features, contained in this help.
File Operations
- How to: Create a New Document with the RichEdit Control
- How to: Load a Document into the RichEditControl
- How to: Save a Document in the RichEdit Control
- How To: Export Document to PDF format
- How To: Export Document to HTML format
Text Operations
- How to: Select Text Programmatically
- How to: Insert Text at the Cursor Position
- How to: Append Text to the Paragraph
- How to: Obtain the Document Position under the Mouse Pointer
- How To: Obtain a Specific Document Part
- How to: Convert a Static URI to a Hyperlink
- How to: Mark Text as Hidden and Display Hidden Text in the RichEditControl
Formatting
- How to: Load and Use Custom Fonts
- How to: Specify Default Document Formatting
- How to: Change Formatting of Selected Text
- How to: Change Formatting of the Current Paragraph
- How to: Embed Fonts Used in a Document
Styles
- How To: Create New Character Style
- How To: Create New Paragraph Style
- How To: Create New Linked Style
Page Layout
- How to: Configure the Page Layout Programmatically
- How to: Create a Three-Column Layout with Uniform Columns
- How to: Insert Page Numbers in Header or Footer
- How To: Add Line Numbering
- How to: Set Background Color for the Line Number Column
- How to: Count the Lines in the Document
- How to: Determine the Document Element under the Mouse Pointer
Automation
- How to: Create a Table of Contents in Code
- How to: Handle the HyperlinkClick Event to Invoke the Custom Form
- How to: Retrieve the List of Document Fonts using the Visitor-Iterator Pattern
- How to: Highlight Document Syntax
- How to: Insert Dynamic Content
- How to: Create a Nested Field
- How to: Create a Checkbox Form Field
Search and Replace
- How to: Use Regular Expressions to Convert Date Formats
- How to: Remove Blank Lines from a Document
- How to: Replace a Picture with Another Picture
Spell Check
Export/Import
- How to: Determine Formatting Capabilities Required to Export the Document
- How to: Reduce the File Size When Saving a Document Containing Pictures
- How to: Retain the Image URI in HTML Document
- How to: Save Selected Image to a File
- How to: Send the Mail-Merge Document as an E-Mail
Printing
- How to: Print a Document
- How to: Utilize a Print Preview Dialog to Adjust Margins in the RichEditControl Document
Protection
User Interface Customization
- How to: Hide or Show ScrollBars and Rulers
- How to: Customize the Search Form
- How to: Customize the Hyperlink Form
- How to: Add Custom Menu Items (Spelling Suggestions) to the Context Menu
- How to: Customize and Hide the Popup Menu