API Reference
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
- Property ExcelCommentSnapshot.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) #ExcelRichTextRunCreates a plain rich text run.
Parameters
- text System.String
Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- 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 Boolean Strikethrough { get; set; } #Gets or sets whether the run is struck through.
public Nullable<UnderlineValues> UnderlineStyle { get; set; } #Gets or sets the run underline style.
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.
public Nullable<VerticalAlignmentRunValues> VerticalTextAlignment { get; set; } #Gets or sets the run vertical text alignment.
public Boolean Outline { get; set; } #Gets or sets whether the run font uses outline text.
public Boolean Shadow { get; set; } #Gets or sets whether the run font uses shadow text.
public Boolean Condense { get; set; } #Gets or sets whether the run font uses condensed text.
public Boolean Extend { get; set; } #Gets or sets whether the run font uses extended text.
public Nullable<Byte> FontFamily { get; set; } #Gets or sets the run font family classification byte.
public Nullable<Byte> FontCharacterSet { get; set; } #Gets or sets the run font character set byte.