Skip to content

TextBlock

Source code

Description

Represents text string in a specific format

https://openpyxl.readthedocs.io/en/stable/api/openpyxl.cell.rich_text.html

Usage

TextBlock(font, text, ...)

Arguments

font font
text text
Additional arguments, i.e. kwargs.

Details

This class is used as part of constructing a rich text strings.

Value

An openpyxl Python object.

Examples

library("xlcharts")

TextBlock(font = InlineFont(), text = "text")