Class RichTextBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
RichTextBuilder
Assembly: Syncfusion.AspNetCore.Spreadsheet.dll
Syntax
public class RichTextBuilder : ControlBuilder
Constructors
RichTextBuilder()
Declaration
RichTextBuilder(List<RichText>)
Declaration
public RichTextBuilder(List<RichText> collection)
Parameters
| Type |
Name |
Description |
| System.Collections.Generic.List<RichText> |
collection |
|
Methods
Add()
Declaration
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
Returns
Style(Action<SpreadsheetCellStyleBuilder>)
Declaration
public RichTextBuilder Style(Action<SpreadsheetCellStyleBuilder> style)
Parameters
Returns
Text(String)
Specifies the text content of the segment.
Declaration
public RichTextBuilder Text(string text)
Parameters
| Type |
Name |
Description |
| System.String |
text |
|
Returns