API Reference
Class
ExcelRichTextRun
Describes a run of rich text inside a cell.
Inheritance
- Object
- ExcelRichTextRun
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method ExcelCell.GetRichText
- Property ExcelCommentInfo.RichTextRuns
- Method ExcelRichTextRun.Plain
- Method ExcelSheet.GetRichText
Accepted by parameters
- Method ExcelCell.SetRichText
- Method ExcelSheet.SetCommentRichText
- Method ExcelSheet.SetCommentRichText
- Method ExcelSheet.SetRichText
- Method ExcelSheet.UpdateCommentsRichText
Constructors
public ExcelRichTextRun(String text) #Creates a rich text run with the supplied text.
Parameters
- text System.String
Methods
public static ExcelRichTextRun Plain(String text) #Returns:
ExcelRichTextRunCreates a plain rich text run.
Parameters
- text System.String
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public Boolean Bold { get; set; } #Gets or sets whether the run is bold.
public Boolean Italic { get; set; } #Gets or sets whether the run is italic.
public Boolean Underline { get; set; } #Gets or sets whether the run is underlined.
public String FontColor { get; set; } #Gets or sets the run font color as a hex value.
public String FontName { get; set; } #Gets or sets the run font name.
public Nullable<Double> FontSize { get; set; } #Gets or sets the run font size.