Outline

Overview

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

Outline.HorizontalOffset represents the horizontal offset of the outline within its container.

This class provides 7 methods for working with Outline objects in Python programs. Available methods include: Accept, AppendChildFirst, AppendChildLast, GetChildNodes, GetEnumerator, InsertChild, RemoveChild. All public members are accessible to any Python application after installing the Aspose.Note FOSS for Python package. Properties: DescendantsCannotBeMoved, Document, FirstChild, HorizontalOffset, IndentPosition, LastChild, and 7 more.

Properties

NameTypeAccessDescription
HorizontalOffsetfloat | NoneRead/WriteGets or sets the horizontal offset.
VerticalOffsetfloat | NoneRead/WriteGets or sets the vertical offset.
MaxWidthfloat | NoneRead/WriteGets or sets the max width.
MaxHeightfloat | NoneRead/WriteGets or sets the max height.
MinWidthfloat | NoneRead/WriteGets or sets the min width.
ReservedWidthfloat | NoneRead/WriteGets or sets the reserved width.
IndentPositionfloat | NoneRead/WriteGets or sets the indent position.
DescendantsCannotBeMovedboolRead/WriteGets or sets the descendants cannot be moved.
LastModifiedTimedatetime | NoneRead/WriteGets or sets the last modified time.
FirstChildNode | NoneReadGets the first child.
LastChildNode | NoneReadGets the last child.
ParentNodeNode | NoneReadGets the parent node.
DocumentDocument | NoneReadGets the document.

Methods

SignatureDescription
AppendChildLast(node: TNode)TNodeCalls AppendChildLast(node) on this Outline instance.
AppendChildFirst(node: TNode)TNodeCalls AppendChildFirst(node) on this Outline instance.
InsertChild(index: int, node: TNode)TNodeCalls InsertChild(index, node) on this Outline instance.
RemoveChild(node: Node)Calls RemoveChild(node) on this Outline instance.
GetEnumerator()Iterator[Node]Calls GetEnumerator on this Outline instance.
GetChildNodes(node_type: type[TNode])list[TNode]Calls GetChildNodes(node_type) on this Outline instance.
Accept(visitor: DocumentVisitor)Calls Accept(visitor) on this Outline instance.

See Also

 English