Title
Overview
Title is a class in Aspose.Note FOSS for Python.
Inherits from: Node.
Title.TitleText holds the RichText representing the title’s main text, or None if absent.
This class provides 4 methods for working with Title objects in Python programs.
Available methods include: Accept, GetChildNodes, GetEnumerator, __init__.
All public members are accessible to any Python application after installing the Aspose.Note FOSS for Python package.
Properties: Document, ParentNode, TitleDate, TitleText, TitleTime.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
TitleText | RichText | None | Read/Write | Gets or sets the title text. |
TitleDate | RichText | None | Read/Write | Gets or sets the title date. |
TitleTime | RichText | None | Read/Write | Gets or sets the title time. |
ParentNode | Node | None | Read | Gets the parent node. |
Document | Document | None | Read | Gets the document. |
Methods
| Signature | Description |
|---|---|
__init__(TitleText: RichText | None, TitleDate: RichText | None, TitleTime: RichText | None) | |
GetEnumerator() → Iterator[Node] | Returns an iterator over the child Node objects of the Title |
GetChildNodes(node_type: type[TNode]) → list[TNode] | Returns a list of child nodes filtered by the specified node type |
Accept(visitor: DocumentVisitor) |