iode.TableCell.bold

property TableCell.bold: bool

Whether or not the cell text is bold.

Parameters:
valuebool

True to set the cell as bold, False otherwise.

Examples

>>> from iode import SAMPLE_DATA_DIR
>>> from iode import tables, Table
>>> tables.load(f"{SAMPLE_DATA_DIR}/fun.tbl")
Loading .../fun.tbl
46 objects loaded
>>> table = tables["ANAPRIX"]
>>> table[4][0].bold
False
>>> table[4][0].bold = True
>>> table[4][0].bold
True