• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class RichTextRun

Represents the rich text run class used by the spreadsheet model.

Inheritance
object
RichTextRun
Inherited Members
object.ToString()
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Spreadsheet
Assembly: DRIT.Spreadsheet.dll
Syntax
public class RichTextRun

Constructors

RichTextRun()

Initializes a new RichTextRun for the supplied workbook data.

Declaration
public RichTextRun()

RichTextRun(string)

Initializes a new RichTextRun for the supplied workbook data.

Declaration
public RichTextRun(string text)
Parameters
Type Name Description
string text

Properties

Bold

Exposes the bold associated with RichTextRun.

Declaration
public bool Bold { get; set; }
Property Value
Type Description
bool

The bold returned by the operation.

Condense

Exposes the condense associated with RichTextRun.

Declaration
public bool Condense { get; set; }
Property Value
Type Description
bool

The condense returned by the operation.

Font

Exposes the font associated with RichTextRun.

Declaration
public Font Font { get; }
Property Value
Type Description
Font

The font returned by the operation.

FontName

Exposes the font name associated with RichTextRun.

Declaration
public string FontName { get; set; }
Property Value
Type Description
string

The font name returned by the operation.

FontSize

Exposes the font size associated with RichTextRun.

Declaration
public double FontSize { get; set; }
Property Value
Type Description
double

The font size returned by the operation.

Foreground

Exposes the foreground associated with RichTextRun.

Declaration
public SpreadsheetColor Foreground { get; set; }
Property Value
Type Description
SpreadsheetColor

The foreground returned by the operation.

Italic

Exposes the italic associated with RichTextRun.

Declaration
public bool Italic { get; set; }
Property Value
Type Description
bool

The italic returned by the operation.

Paragraph

Exposes the paragraph associated with RichTextRun.

Declaration
public RichTextParagraph Paragraph { get; set; }
Property Value
Type Description
RichTextParagraph

The paragraph returned by the operation.

PreserveSpace

Exposes the preserve space associated with RichTextRun.

Declaration
public bool PreserveSpace { get; set; }
Property Value
Type Description
bool

Shadow

Exposes the shadow associated with RichTextRun.

Declaration
public bool Shadow { get; set; }
Property Value
Type Description
bool

The shadow returned by the operation.

Strikethrough

Exposes the strikethrough associated with RichTextRun.

Declaration
public bool Strikethrough { get; set; }
Property Value
Type Description
bool

The strikethrough returned by the operation.

Text

Exposes the text associated with RichTextRun.

Declaration
public string Text { get; set; }
Property Value
Type Description
string

The text returned by the operation.

Underline

Exposes the underline associated with RichTextRun.

Declaration
public SpreadsheetUnderline Underline { get; set; }
Property Value
Type Description
SpreadsheetUnderline

The underline returned by the operation.

VerticalAlignment

Exposes the vertical alignment associated with RichTextRun.

Declaration
public VerticalRunAlignment VerticalAlignment { get; set; }
Property Value
Type Description
VerticalRunAlignment

The vertical alignment returned by the operation.

Methods

CopyFrom(RichTextRun)

Exposes the copy from associated with RichTextRun.

Declaration
public void CopyFrom(RichTextRun other)
Parameters
Type Name Description
RichTextRun other

The other used by the operation.

Equals(RichTextRun)

Exposes the equals associated with RichTextRun.

Declaration
public bool Equals(RichTextRun other)
Parameters
Type Name Description
RichTextRun other

The other used by the operation.

Returns
Type Description
bool

The equals returned by the operation.

Equals(object)

Exposes the equals associated with RichTextRun.

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
object obj

The obj used by the operation.

Returns
Type Description
bool

The equals returned by the operation.

Overrides
object.Equals(object)

GetHashCode()

Retrieves the requested hash code from RichTextRun.

Declaration
public override int GetHashCode()
Returns
Type Description
int

The get hash code returned by the operation.

Overrides
object.GetHashCode()
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX