diff --git a/ej2-asp-core-mvc/document-editor/text-format.md b/ej2-asp-core-mvc/document-editor/text-format.md index a3e466ac07..801d14c72b 100644 --- a/ej2-asp-core-mvc/document-editor/text-format.md +++ b/ej2-asp-core-mvc/document-editor/text-format.md @@ -106,6 +106,14 @@ You can make a subscript or superscript text as normal using the following code. documenteditor.selection.characterFormat.baselineAlignment='Normal'; ``` +## Change case + +You can apply different case formatting based on the selected text. Refer to the following sample code. + +```typescript +documenteditor.editor.changeCase('Uppercase'|'Lowercase'|'SentenceCase'|'ToggleCase'|'CapitalizeEachWord'); +``` + ## Size The size of selected text can be get or set using the following code. @@ -182,6 +190,6 @@ documenteditor.selection.characterFormat.highlightColor= '#FFC0CB'; ## See Also -* [Feature modules](../document-editor/feature-module/) -* [Font dialog](../document-editor/dialog/#font-dialog) -* [Keyboard shortcuts](../document-editor/keyboard-shortcut/) \ No newline at end of file +* [Feature modules](../document-editor/feature-module) +* [Font dialog](../document-editor/dialog#font-dialog) +* [Keyboard shortcuts](../document-editor/keyboard-shortcut) \ No newline at end of file