menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ClipboardHTML - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    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.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved