Table
Overview
Table is a class in Aspose.Note for Python.
Inherits from: CompositeNode.
Table.Tags holds the collection of NoteTag objects associated with the table.
Table represents a table embedded in a OneNote page. It contains TableRow children, which in turn contain TableCell children. The Table node also exposes a Columns list of TableColumn objects describing individual column widths. Access tables via document.GetChildNodes(Table) or by traversing the full document tree. Column width information is useful when replicating table structure in output formats.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Tags | list[NoteTag] | Read | Holds the collection of NoteTag objects associated with the table |
Columns | list[TableColumn] | Read | Contains the list of TableColumn objects that define the table’s columns |
IsBordersVisible | bool | None | Read | True if the table borders are visible, False if borderless, or None if not set |
LastModifiedTime | datetime | None | Read | The last-modified timestamp of the table element, or None |
Methods
| Signature | Description |
|---|---|
__init__(Tags: list[NoteTag] | None, Columns: list[TableColumn] | None, IsBordersVisible: bool, LastModifiedTime: datetime | None) |