Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
TextView.SetSelectedStyledText
Sets the styled text.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
TextView | 10.5 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ✅ Yes |
MBS( "TextView.SetSelectedStyledText"; TextView; Text ) More
Parameters
Parameter | Description | Example |
---|---|---|
TextView | The reference number to the text view. | $textview |
Text | The new text with styles. | "Hello" |
Result
Returns OK or error.
Description
Sets the styled text.Use this function for selection only and TextView.SetStyledText for whole text.
Implemented for Windows with version 11.3 of MBS Plugin.
See also
- TextView.GetSelectedHTMLText
- TextView.GetSelectedPlainText
- TextView.GetSelectedStyledText
- TextView.SetSelectedHTMLText
- TextView.SetSelectedPlainText
- TextView.SetStyled
- TextView.SetStyledText
Release notes
- Version 11.3
- Implemented TextView.GetSelectedStyledText, TextView.SetSelectedStyledText, TextView.GetStyledText and TextView.SetStyledText for Windows.
- Version 10.5
- Added more TextView functions: TextView.GetSelectedStyledText, TextView.SetSelectedStyledText, TextView.GetSelectedHTMLText, TextView.SetSelectedHTMLText, TextView.GetSelectedRTF, TextView.SetSelectedRTF, TextView.GetSelectedPlainText, TextView.SetSelectedPlainText, TextView.GetSelectionStart, TextView.SetSelectionStart, TextView.GetSelectionLength, TextView.SetSelectionLength, and TextView.SetSelection.
Blog Entries
This function checks for a license.
Created 29th September 2020, last changed 19th May 2021
