API
- 2 minutes to read
The Rich Text Editor provides a comprehensive API, allowing you to manipulate the document programmatically.
#Server-Side API
On the server side, the Rich Text Editor control is represented by the BootstrapRichEdit class.
To load the document using server-side API, specify the working directory path using the WorkDirectory property and then call the Open method to load the document into the control.
Note
The Bootstrap
If you want to get familiarized with the Rich
#Client-Side API
The Rich Text Editor’s client API is available through the BootstrapClientRichEdit class. It provides information about the current settings of the main document model elements and allows you to modify selected element settings.
ASPxClientRichEdit.document Provides access to structures allowing you to obtain the current information about certain document structural elements.
ASPxClientRichEdit.selection Provides access to a set of methods and properties allowing you to position the cursor within a document and to select document content elements.
ASPxClientRichEdit.commands Provides access to client commands allowing you to programmatically accomplish virtually any task within a document.