Table of Contents

Class RichText

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

Constructors

RichText(IRichTextString)

public RichText(IRichTextString richTextString)

Parameters

richTextString IRichTextString

Methods

GetFont(int)

Returns font for character at specified position.

public ExcelFont GetFont(int position)

Parameters

position int

Returns

ExcelFont

SetFont(int, int, ExcelFont)

Sets font for specified range of characters.

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

Parameters

startPos int

Position of first character.

endPos int

Position of last character.

font ExcelFont

Font to set.