Outline
Overview
Outline is a class in Aspose.Note for Python.
Inherits from: CompositeNode.
Outline.HorizontalOffset represents the horizontal offset of the outline relative to its container.
Outline is a container node that groups OutlineElement children within a OneNote page. Each page typically contains one or more Outline nodes, and each outline contains one or more OutlineElement nodes that in turn hold text, images, and tables. Outlines carry layout metadata such as HorizontalOffset, VerticalOffset, and MaxWidth that control their position on the page canvas. Access outlines via page.GetChildNodes(Outline) after loading a document.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
HorizontalOffset | float | None | Read | Represents the horizontal offset of the outline relative to its container |
VerticalOffset | float | None | Read | Represents the vertical offset of the outline relative to its container |
MaxWidth | float | None | Read | Specifies the maximum allowed width of the outline |
MaxHeight | float | None | Read | Specifies the maximum allowed height of the outline |
MinWidth | float | None | Read | Specifies the minimum width the outline can shrink to |
ReservedWidth | float | None | Read | Indicates the width reserved for the outline, often for indentation |
IndentPosition | float | None | Read | Defines the position where the outline’s indentation starts |
DescendantsCannotBeMoved | bool | Read | Indicates whether child elements are locked from being moved |
LastModifiedTime | datetime | None | Read | Records the timestamp of the last modification to the outline |