ClipboardHelper.CopyHtmlToClipboard

Clears clipboard and sets the given HTML and plain text fragment to the clipboard, providing additional meta-information for HTML.
See MarkdownMonster.ClipboardHelper.CreateDataObject(System.String,System.String) for HTML fragment details.

public static bool CopyHtmlToClipboard(string html,
	string plainText,
	bool showStatusError)

Parameters

html
an html fragment

plainText
the plain text

showStatusError

Example

ClipboardHelper.CopyHtmlToClipboard("Hello <b>World</b>",  "Hello World");

See also:

Class ClipboardHelper

© West Wind Technologies, 2016-2023 • Updated: 11/23/21
Comment or report problem with topic