API Reference
ExcelRichTextRun
Describes a run of rich text inside a cell.
Inheritance
- Object
- ExcelRichTextRun
Usage
Explore 11 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 7
- Method ExcelCell.GetRichText
- Property ExcelCellSnapshot.RichTextRuns
- Property ExcelCommentInfo.RichTextRuns
- Property ExcelCommentSnapshot.RichTextRuns
- Method ExcelRichTextRun.Plain
- Method ExcelRichTextRun.TransformTextCase
- Method ExcelSheet.GetRichText
Accepted by parameters 4
- Method ExcelCell.SetRichText
- 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
public ExcelRichTextRun TransformTextCase(OfficeTextCase textCase, CultureInfo? culture = null) #ExcelRichTextRunChanges the stored run text casing while preserving rich-text formatting.
Parameters
- textCase OfficeIMO.Drawing.OfficeTextCase
- culture System.Globalization.CultureInfo? = null
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
Properties
public Boolean Strikethrough { get; set; } #Gets or sets whether the run is struck through.
public ExcelUnderlineStyle? 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 ExcelVerticalTextAlignment? 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 Byte? FontFamily { get; set; } #Gets or sets the run font family classification byte.
public Byte? FontCharacterSet { get; set; } #Gets or sets the run font character set byte.