XLRichStringMBS methods

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

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.


💬 Ask a question or report a problem