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

NameTypeAccessDescription
Tagslist[NoteTag]ReadHolds the collection of NoteTag objects associated with the table
Columnslist[TableColumn]ReadContains the list of TableColumn objects that define the table’s columns
IsBordersVisiblebool | NoneReadTrue if the table borders are visible, False if borderless, or None if not set
LastModifiedTimedatetime | NoneReadThe last-modified timestamp of the table element, or None

Methods

SignatureDescription
__init__(Tags: list[NoteTag] | None, Columns: list[TableColumn] | None, IsBordersVisible: bool, LastModifiedTime: datetime | None)