sub- and superscript settings, text effects with uppercase letters and a user-defined character spacing and scaling. The new properties Selection.AutoBaseline, Selection.Capitals, Selection.CharacterScaling and Selection.CharacterSpacing can be used to define or retrieve these settings. When using
selected text. Javascript: Selection.setText Sets the currently selected text. Javascript: Selection.setTextBackColor Sets the selection's background color. Javascript: Selection.setUnderline Sets the underlining styles for the selected text. Javascript: TextPart.addSubTextPart Obsolete.…
getFormattingStyle Method Selection Object JavaScript API Gets the formatting style of the selected text. Introduced: X16. JavaScript Selection.getFormattingStyle( callback, [ errorCallback]) Selection.getFormattingStyle( callback, [ errorCallback]) Parameters Parameter Description…
Selection Object JavaScript API Describes and handles the attributes of a text selection. Each of the properties of this class returns the property's default value if the selection does not contain a common value. Syntax JavaScript Selection Selection Introduced
setFormattingStyle Method Selection Object JavaScript API Sets the formatting style of the selected text. Introduced: X16. JavaScript Selection.setFormattingStyle( formattingStyle, [ callback], [ errorCallback]) Selection.setFormattingStyle( formattingStyle, [ callback], [ errorCallback])…
+1 704-544-7445 (United States)
+1 855-533-8398 (United States, toll free)
Or send us an email: