Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Clipboard.GetRTFText
Queries styled text from clipboard as RTF.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Clipboard | 5.0 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ✅ Yes |
MBS( "Clipboard.GetRTFText" { ; Encoding } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
Encoding | The text encoding for result. Default is Windows ANSI. Possible encoding names: ANSI, ISO-8859-1, Latin1, Mac, Native, UTF-8, DOS, Hex, Base64 or Windows. More listed in the FAQ. |
UTF8 | Optional |
Result
Returns text or error.
Description
Queries styled text from clipboard as RTF.For server this will query the clipboard of the user account running the server app on the server computer and not the clipboard of any client.
See also
- Clipboard.GetHTMLText
- Clipboard.GetText
- Clipboard.GetTypes
- Clipboard.SetHTMLText
- Clipboard.SetRTFText
- Clipboard.SetText
Release notes
- Version 14.1
- Improved Clipboard.GetRTFText, Clipboard.GetHTMLText, Clipboard.GetStyledText and Clipboard_GetText for Windows to strip out an ending NULL character if the other application added it to the clipboard text.
Example Databases
Blog Entries
This function checks for a license.
Created 17th November 2014, last changed 12nd November 2015