Sign in Join
FPDoc Onlineexperiment

TClipboard.SetAsHtml procedure

Member of TClipboardpublicIn unit Clipbrd

Puts a HTML string on the clipboard.

Declaration

pascal
procedure SetAsHtml(Html: string)
procedure SetAsHtml(Html: string; const PlainText: string)

Arguments

Html

The HTML string that shall be put on the ClipBoard.

PlainText

Optional plain text (string) representation of the HTML.

Description

Puts a HTML string on the clipboard. On Windows it will automatically insert a ClipBoard Header. The procedure can also (optionally) set a provided plaintext representation of HTML on the ClipBoard.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.