Changes the capitalization of all selected characters depending on the settings parameter.

Introduced: 30.0.


public bool ChangeCapitalization(CapitalizationSettings settings);
Public Function ChangeCapitalization() As CapitalizationSettings


Parameter Description
settings Specifies how the capitalization is changed. It can be one of the CapitalizationSettings values:
Event Description
CapitalizeEachSentence The first letter of each sentence is capitalized.
CapitalizeEachWord The first letter of each word is capitalized.
ToLower All letters are changed to lowercase.
ToUpper All letters are changed to uppercase.
ToggleCase Lowercase letters are changed to uppercase and vice versa.

Return Value

The return value is false, if there is no selected text or if an error has occurred. Otherwise it is true.