alexa
menu

ASP.NET Core - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class RichTextBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    RichTextBuilder
    Namespace: Syncfusion.EJ2.Spreadsheet
    Assembly: Syncfusion.AspNetCore.Spreadsheet.dll
    Syntax
    public class RichTextBuilder : ControlBuilder

    Constructors

    RichTextBuilder()

    Declaration
    public RichTextBuilder()

    RichTextBuilder(List<RichText>)

    Declaration
    public RichTextBuilder(List<RichText> collection)
    Parameters
    Type Name Description
    System.Collections.Generic.List<RichText> collection

    Methods

    Add()

    Declaration
    public void Add()

    Style(SpreadsheetCellStyle)

    Specifies the style of the segment using CellStyleModel, which represents the general cell styling configuration. However, in a rich text segment, only the superscript or subscript options are supported.

    Declaration
    public RichTextBuilder Style(SpreadsheetCellStyle style)
    Parameters
    Type Name Description
    SpreadsheetCellStyle style
    Returns
    Type
    RichTextBuilder

    Style(Action<SpreadsheetCellStyleBuilder>)

    Declaration
    public RichTextBuilder Style(Action<SpreadsheetCellStyleBuilder> style)
    Parameters
    Type Name Description
    System.Action<SpreadsheetCellStyleBuilder> style
    Returns
    Type
    RichTextBuilder

    Text(String)

    Specifies the text content of the segment.

    Declaration
    public RichTextBuilder Text(string text)
    Parameters
    Type Name Description
    System.String text
    Returns
    Type
    RichTextBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved