Skip to content

Commit c872e50

Browse files
Merge pull request #4402 from syncfusion-content/955200-ChangeCaseCore
955200: Added documentation for change case
2 parents a0c46cf + 827c4a7 commit c872e50

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

ej2-asp-core-mvc/document-editor/text-format.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,14 @@ You can make a subscript or superscript text as normal using the following code.
106106
documenteditor.selection.characterFormat.baselineAlignment='Normal';
107107
```
108108

109+
## Change case
110+
111+
You can apply different case formatting based on the selected text. Refer to the following sample code.
112+
113+
```typescript
114+
documenteditor.editor.changeCase('Uppercase'|'Lowercase'|'SentenceCase'|'ToggleCase'|'CapitalizeEachWord');
115+
```
116+
109117
## Size
110118

111119
The size of selected text can be get or set using the following code.
@@ -182,6 +190,6 @@ documenteditor.selection.characterFormat.highlightColor= '#FFC0CB';
182190

183191
## See Also
184192

185-
* [Feature modules](../document-editor/feature-module/)
186-
* [Font dialog](../document-editor/dialog/#font-dialog)
187-
* [Keyboard shortcuts](../document-editor/keyboard-shortcut/)
193+
* [Feature modules](../document-editor/feature-module)
194+
* [Font dialog](../document-editor/dialog#font-dialog)
195+
* [Keyboard shortcuts](../document-editor/keyboard-shortcut)

0 commit comments

Comments
 (0)