RangeRichTextString module
- class RangeRichTextString.RangeRichTextString
Bases:
RichTextStringRepresents a rich text string in a cell range.
This class inherits from RichTextString and provides functionality for working with formatted text in Excel cell ranges. Rich text strings can contain multiple text runs with different formatting applied to different parts of the text.
- property DefaultFont: XlsFont
Gets the default font for this rich text string.
The default font is used for any portion of the text that doesn’t have specific formatting applied.
- Returns:
The default font object for the rich text string.
- Return type:
- Dispose()
Releases all resources used by the RangeRichTextString object.
This method performs necessary cleanup operations and should be called when the object is no longer needed.
- property Index: int
Gets the index of this rich text string in the collection.
- Returns:
The zero-based index of the rich text string.
- Return type:
int
