Class RichTextShape
- Namespace
- Spire.Xls.Core.Spreadsheet
- Assembly
- Spire.XLS.dll
public class RichTextShape : IRichTextString, IExcelApplication, IOptimizedUpdate
- Inheritance
-
RichTextShape
- Implements
-
- Inherited Members
-
Properties
DefaultFont
public virtual XlsFont DefaultFont { get; }
Property Value
- XlsFont
FormattingRunsCount
public int FormattingRunsCount { get; }
Property Value
- int
IsFormatted
public bool IsFormatted { get; }
Property Value
- bool
Parent
public object Parent { get; }
Property Value
- object
RtfText
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()
ClearFormatting()
public void ClearFormatting()
EndUpdate()
GetFont(int)
public IFont GetFont(int index)
Parameters
index
int
Returns
- IFont
GetSpace(int)
public int GetSpace(int FormattingRunsIndex)
Parameters
FormattingRunsIndex
int
Returns
- int
SetFont(int, int, IFont)
public void SetFont(int startIndex, int endIndex, IFont font)
Parameters
startIndex
int
endIndex
int
font
IFont
SetSpace(int, int)
public void SetSpace(int FormattingRunsIndex, int SpaceValue)
Parameters
FormattingRunsIndex
int
SpaceValue
int