Class ClipboardHTML
Represents a class for converting valid html to "HTML Clipboard Format". HTML Clipboard Format: http://msdn.microsoft.com/workshop/networking/clipboard/htmlclipboard.asp?frame=true
Inheritance
System.Object
ClipboardHTML
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Edit.Utils
Assembly: Syncfusion.Edit.Windows.dll
Syntax
public class ClipboardHTML
Constructors
ClipboardHTML()
Declaration
public ClipboardHTML()
Fields
DEF_HTML_FRAGMENT_END
Holds the end fragment text.
Declaration
public const string DEF_HTML_FRAGMENT_END = "<!--EndFragment -->"
Field Value
Type |
---|
System.String |
DEF_HTML_FRAGMENT_START
Holds the start fragment text.
Declaration
public const string DEF_HTML_FRAGMENT_START = "<!--StartFragment -->"
Field Value
Type |
---|
System.String |
Methods
GetHTMLForClipboard(String)
Converts html to "HTML Clipboard Format".
Declaration
public static string GetHTMLForClipboard(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | HTML to convert. |
Returns
Type | Description |
---|---|
System.String | HTML with special headers. |
Remarks
Input HTML must have and marks.