---
Product: Aspose.Note
Platform: python
Page Type: reference
Canonical URL: https://reference.aspose.org/note/python/outlineelement
---

# OutlineElement

## Overview

`OutlineElement` is a class in Aspose.Note FOSS for Python.
Inherits from: `CompositeNode`.

OutlineElement.NumberList represents the numbered list applied to this outline element, or None if absent.

This class declares 10 methods for OutlineElement objects in Python programs.
Available methods include: `Accept`, `AppendChildFirst`, `AppendChildLast`, `GetChildNodes`, `GetEnumerator`, `InsertChild`, `RemoveChild`, `__iter__`, `__new__`, `__post_init__`.
Public members are accessible to any Python application after installing the Aspose.Note FOSS for Python package.
Properties: `Document`, `FirstChild`, `LastChild`, `NumberList`, `ParentNode`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `NumberList` | `NumberList \| None` | Read/Write | Gets or sets the number list. |
| `FirstChild` | `Node \| None` | Read | Gets the first child. |
| `LastChild` | `Node \| None` | Read | Gets the last child. |
| `ParentNode` | `Node \| None` | Read | Gets the parent node. |
| `Document` | `Document \| None` | Read | Gets the document. |

## Methods

| Signature | Description |
|-----------|-------------|
| `__new__()` | Calls __new__ on this OutlineElement instance. |
| `AppendChildLast(node: TNode)` → `TNode` | Calls AppendChildLast(node) on this OutlineElement instance. |
| `AppendChildFirst(node: TNode)` → `TNode` | Calls AppendChildFirst(node) on this OutlineElement instance. |
| `InsertChild(index: int, node: TNode)` → `TNode` | Calls InsertChild(index, node) on this OutlineElement instance. |
| `RemoveChild(node: Node)` | Calls RemoveChild(node) on this OutlineElement instance. |
| `GetEnumerator()` → `Iterator[Node]` | Calls GetEnumerator on this OutlineElement instance. |
| `__iter__()` → `Iterator[Node]` | Calls __iter__ on this OutlineElement instance. |
| `GetChildNodes(node_type: type[TNode])` → `list[TNode]` | Calls GetChildNodes(node_type) on this OutlineElement instance. |
| `__post_init__()` | Calls __post_init__ on this OutlineElement instance. |
| `Accept(visitor: DocumentVisitor)` | Calls Accept(visitor) on this OutlineElement instance. |

## See Also

- [Aspose.Note — Enterprise API Reference](https://reference.aspose.com/note/)