Class RichTextString
- Namespace
- Spire.Xls.Core.Spreadsheet
- Assembly
- Spire.XLS.dll
public class RichTextString : CommonWrapper, ICloneParent, IRichTextString, IExcelApplication, IOptimizedUpdate
- Inheritance
-
RichTextString
- Implements
- Derived
- Inherited Members
Properties
DefaultFont
public virtual XlsFont DefaultFont { get; }
Property Value
IsFormatted
public bool IsFormatted { get; }
Property Value
Parent
Returns parent object. Read-only.
public object Parent { get; }
Property Value
RtfText
[Obsolete("get and set are not implemented")]
public string RtfText { get; }
Property Value
Text
public string Text { get; set; }
Property Value
Methods
AddFont(IFont)
protected int AddFont(IFont font)
Parameters
font
IFont
Returns
Append(string, IFont)
public void Append(string text, IFont font)
Parameters
Clear()
public void Clear()
ClearFormatting()
public void ClearFormatting()
GetFont(int)
public IFont GetFont(int index)
Parameters
index
int
Returns
SetFont(int, int, IFont)
public void SetFont(int startIndex, int endIndex, IFont font)
Parameters
SetRichTextFont(int, int, IFont)
protected void SetRichTextFont(int iStartPos, int iEndPos, IFont font)