iode.TableCell.underline

property TableCell.underline: bool

Whether or not the cell text is underline.

Parameters:
valuebool

True to set the cell as underlined, 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].underline
False
>>> table[4][0].underline = True
>>> table[4][0].underline
True