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, 2019 • Updated: 01/06/19
Comment or report problem with topic