Table of Contents

Class RichTextObject

Namespace
Spire.Xls
Assembly
Spire.XLS.dll
public class RichTextObject : IRichTextString, IExcelApplication, IOptimizedUpdate
Inheritance
RichTextObject
Implements
Derived
Inherited Members

Properties

IsFormatted

Indicates whether rich text string contains formatting Read-only.

public bool IsFormatted { get; }

Property Value

bool

Parent

public object Parent { get; }

Property Value

object

RtfText

Gets Rtf Text. Read-Only.

public string RtfText { get; }

Property Value

string

Text

public string Text { get; set; }

Property Value

string

Methods

Append(string, IFont)

public void Append(string text, IFont font)

Parameters

text string
font IFont

BeginUpdate()

public void BeginUpdate()

Clear()

Clears all.

public void Clear()

ClearFormatting()

Clears formatting.

public void ClearFormatting()

EndUpdate()

public void EndUpdate()

GetFont(int)

public IFont GetFont(int position)

Parameters

position int

Returns

IFont

SetFont(int, int, IFont)

public void SetFont(int startPos, int endPos, IFont font)

Parameters

startPos int
endPos int
font IFont