WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class RtfDocument - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class RtfDocument

    Implements the functionalities of Color, Font for XHTML cell.

    Inheritance
    System.Object
    RtfDocument
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.GridHelperClasses
    Assembly: Syncfusion.GridHelperClasses.Windows.dll
    Syntax
    public class RtfDocument

    Constructors

    RtfDocument()

    Initializes a new instance of the RtfDocument class.

    Declaration
    public RtfDocument()

    Methods

    AppendText(String)

    Appends the text with other text.

    Declaration
    public void AppendText(string text)
    Parameters
    Type Name Description
    System.String text

    The text to be appended.

    ToString()

    Converts the data to String Type.

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    Data of current instance in string.

    Overrides
    System.Object.ToString()

    UseColor(Color)

    Gets the index of a color.

    Declaration
    public int UseColor(Color fromArgb)
    Parameters
    Type Name Description
    System.Drawing.Color fromArgb

    The color to be searched.

    Returns
    Type Description
    System.Int32

    Index of a color.

    UseFont(String)

    UseFont

    Declaration
    public int UseFont(string fontName)
    Parameters
    Type Name Description
    System.String fontName
    Returns
    Type Description
    System.Int32
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved