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

NameTypeAccessDescription
HorizontalOffsetfloat | NoneReadRepresents the horizontal offset of the outline relative to its container
VerticalOffsetfloat | NoneReadRepresents the vertical offset of the outline relative to its container
MaxWidthfloat | NoneReadSpecifies the maximum allowed width of the outline
MaxHeightfloat | NoneReadSpecifies the maximum allowed height of the outline
MinWidthfloat | NoneReadSpecifies the minimum width the outline can shrink to
ReservedWidthfloat | NoneReadIndicates the width reserved for the outline, often for indentation
IndentPositionfloat | NoneReadDefines the position where the outline’s indentation starts
DescendantsCannotBeMovedboolReadIndicates whether child elements are locked from being moved
LastModifiedTimedatetime | NoneReadRecords the timestamp of the last modification to the outline