iode.TableCell.italic

property TableCell.italic: bool

Whether or not the cell text is italic.

Parameters:
valuebool

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