Title
Overview
Title is a class in Aspose.Note for Python.
Inherits from: Node.
Represents the title node of a OneNote page, containing text, date, and time sub-nodes.
Title represents the title metadata of a OneNote Page. Access it via Page.Title. The title itself is stored as a RichText child node within the Title object. Not all pages have a title; Page.Title returns None when no title is set. Title nodes may also carry NoteTag objects, making them searchable alongside regular content tags.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
TitleText | RichText | None | Read | The TitleText for this Title. |
TitleDate | RichText | None | Read | The TitleDate for this Title. |
TitleTime | RichText | None | Read | The TitleTime for this Title. |
Methods
| Signature | Description |
|---|---|
__init__(TitleText: RichText | None, TitleDate: RichText | None, TitleTime: RichText | None) | Initializes a new Title node with optional text, date, and time components. |
GetEnumerator() → Iterator[Node] | Returns an enumerator that iterates through the child nodes. |
GetChildNodes(node_type: type[TNode]) → list[TNode] | Returns a list of child nodes filtered by the specified node type. |