The sections above described how to perform common tasks using the C1Editor's object model, focusing on the types of task that would be implemented in toolbars.
This section focuses on other types of task that are commonly needed when implementing methods that process documents programmatically. Specifically, we will show you how to select and replace text in the document using the C1Editor's Selection object and using the XmlDocument object of the current document. Both tasks can be performed using either approach, which can be useful in different situations.