Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Clipboard.GetHTMLText

Queries styled text from clipboard as HTML.

Component Version macOS Windows Linux Server iOS SDK
Clipboard 6.0 ✅ Yes ✅ Yes ❌ No ❌ No ✅ Yes
MBS( "Clipboard.GetHTMLText" { ; 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 html text or error.

Description

Queries styled text from clipboard as HTML.
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.

For macOS, if a webarchive is on the clipboard, the plugin will pick data from that webarchive. Safari puts a Webarchive on the clipboard if you do a copy to the clipboard. If text encoding is UTF-8, the plugin will automatically use this encoding as default unless you overwrite it.

See also

Release notes

Example Databases

Blog Entries

This function checks for a license.

Created 7th January 2016, last changed 10th August 2020


Clipboard.GetFiles - Clipboard.GetPDF