Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Puts HTML data on the clipboard.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Clipboard | 6.0 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
HTMLText | The html data to put in clipboard. | "<p>Hello</p>" \f0\b\fs28 \cf0 Hello World}" |
|
Encoding | The text encoding for text parameter. 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 |
Returns OK or error.
Put some HTML on clipboard:
MBS( "Clipboard.SetHTMLText"; "<b>Hello</b>"; "UTF8")
This function checks for a license.
Created 7th January 2016, last changed 26th December 2019