iode.TableCell.underline

TableCell.underline

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")
>>> table = tables["ANAPRIX"]
>>> table[4][0].underline
False
>>> table[4][0].underline = True
>>> table[4][0].underline
True