Platforms to show: All Mac Windows Linux Cross-Platform

Back to TextArea class.

TextArea.WinRTFDataMBS(SelectionOnly as boolean = false) as string

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Controls MBS Win Plugin 14.3 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Get or set the RTF data for the text area.
Example
Dim rtfData As String

#If TargetWindows Then
rtfData = TextArea1.WinRTFDataMBS
#ElseIf TargetMacOS Then
rtfData = TextArea1.RTFDataMBS
#EndIf

Including images and probably faster as StyledText.RTFData.

See also RTFDataMBS in StyledText, RTFDataMBS in TextArea and DesktopTextArea controls and RTFData in NSTextViewMBS class.
(Read and Write computed property)

Some examples using this property:

The items on this page are in the following plugins: MBS Win Plugin.


The biggest plugin in space...