RichTextShape module

class RichTextShape.RichTextShape

Bases: SpireObject, IRichTextString

Append(text: str, font: IFont)
BeginUpdate()
Clear()
ClearFormatting()
property DefaultFont: XlsFont
EndUpdate()
property FormattingRunsCount: int
GetFont(index: int) IFont
GetSpace(FormattingRunsIndex: int) int
property IsFormatted: bool
property Parent: SpireObject
property RtfText: str
SetFont(startIndex: int, endIndex: int, font: IFont)
SetSpace(FormattingRunsIndex: int, SpaceValue: int)
property Text: str