Howto: Edit and Format Text From Code

Windows Presentation Foundation User's Guide

There are various applications which require text to be edited from program code. Report generators assemble documents from various smaller files and database fields. Web shops create order confirmations and send them out as HTML. Using TX Text Control, anything that can be done using the mouse and clicking menu items, can also be done from program code. The following chapters discuss some of the techniques involved.

The source code for this example is contained in the following directories:

Used TX Text Control controls:

Relevant API links:

Selecting and Formatting Text

Find and Replace

Appending and Inserting Text Files

Moving to a Page, Line or Column