Page

Overview

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

Page.Clone creates a copy of the page; if cloneHistory is true the page’s revision history is also copied.

This class provides 8 methods for working with Page objects in Python programs. Available methods include: Accept, AppendChildFirst, AppendChildLast, Clone, GetChildNodes, GetEnumerator, InsertChild, RemoveChild. All public members are accessible to any Python application after installing the Aspose.Note FOSS for Python package. Properties: Author, BackgroundColor, CreationTime, Document, FirstChild, IsConflictPage, and 9 more.

Properties

NameTypeAccessDescription
TitleTitle | NoneRead/WriteGets or sets the title.
Authorstr | NoneRead/WriteGets or sets the author.
CreationTimedatetime | NoneRead/WriteGets or sets the creation time.
LastModifiedTimedatetime | NoneRead/WriteGets or sets the last modified time.
Levelint | NoneRead/WriteGets or sets the level.
BackgroundColorint | NoneRead/WriteGets or sets the background color.
MarginAny | NoneRead/WriteGets or sets the margin.
SizeTypeAny | NoneRead/WriteGets or sets the size type.
PageLayoutSizeAny | NoneRead/WriteGets or sets the page layout size.
IsConflictPageboolRead/WriteGets or sets the is conflict page.
PageContentRevisionSummaryAny | NoneRead/WriteGets or sets the page content revision summary.
FirstChildNode | NoneReadGets the first child.
LastChildNode | NoneReadGets the last child.
ParentNodeNode | NoneReadGets the parent node.
DocumentDocument | NoneReadGets the document.

Methods

SignatureDescription
Clone(cloneHistory: bool)PageCreates a copy of the page; if cloneHistory is true the page’s revision history is also copied
AppendChildLast(node: TNode)TNode
AppendChildFirst(node: TNode)TNode
InsertChild(index: int, node: TNode)TNode
RemoveChild(node: Node)
GetEnumerator()Iterator[Node]
GetChildNodes(node_type: type[TNode])list[TNode]
Accept(visitor: DocumentVisitor)

See Also

 English