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

NameTypeAccessDescription
TitleTextRichText | NoneReadThe TitleText for this Title.
TitleDateRichText | NoneReadThe TitleDate for this Title.
TitleTimeRichText | NoneReadThe TitleTime for this Title.

Methods

SignatureDescription
__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.