There are three main steps involved in redlining:
For example, see task_pane_redlining.php in the digitizing_features directory in the Developer Guide samples.