Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
TextView.SetSelectedRTF
Sets text with RTF.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
TextView | 10.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
MBS( "TextView.SetSelectedRTF"; TextView; RTF Text ) More
Parameters
Parameter | Description | Example |
---|---|---|
TextView | The reference number to the text view. | $textview |
RTF Text | The new text. |
Result
Returns OK or error.
Description
Sets text with RTF.You pass RTF text and the field shows it.
Use this function for selection only and TextView.SetRTF for whole text.
See also
Release notes
- 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 29th September 2020
TextView.SetSelectedPlainText - TextView.SetSelectedStyledText