Platforms to show: All Mac Windows Linux Cross-Platform

Back to XLRichStringMBS class.

XLRichStringMBS.AddFont(templateFont as XLFontMBS = nil) as XLFontMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method XL MBS XL Plugin 20.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Adds a new font to the RichString for using with the addText() method.

templateFont parameter added for version 20.3.

XLRichStringMBS.AddStyledText(StyledText as StyledText)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method XL MBS XL Plugin 20.2 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
Adds styled text to the rich string.

We convert attributes like bold, italic, underline, color, font name and size.

XLRichStringMBS.AddText(text as String, font as XLFontMBS = nil)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method XL MBS XL Plugin 20.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Adds a piece of text (run) with the specified font to the RichString for mixing different fonts in a single cell.

XLRichStringMBS.Constructor(book as XLBookMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method XL MBS XL Plugin 20.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Creates a new rich text to be used in the book.

XLRichStringMBS.Text(Index as Integer) as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
method XL MBS XL Plugin 20.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns a piece of text (run) with the specified index from the RichString.

See also:

XLRichStringMBS.Text(Index as Integer, byref font as XLFontMBS) as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
method XL MBS XL Plugin 20.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns a piece of text (run) and font with the specified index from the RichString.

See also:

The items on this page are in the following plugins: MBS XL Plugin.


The biggest plugin in space...