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
| Name | Type | Access | Description |
|---|---|---|---|
Title | Title | None | Read/Write | Gets or sets the title. |
Author | str | None | Read/Write | Gets or sets the author. |
CreationTime | datetime | None | Read/Write | Gets or sets the creation time. |
LastModifiedTime | datetime | None | Read/Write | Gets or sets the last modified time. |
Level | int | None | Read/Write | Gets or sets the level. |
BackgroundColor | int | None | Read/Write | Gets or sets the background color. |
Margin | Any | None | Read/Write | Gets or sets the margin. |
SizeType | Any | None | Read/Write | Gets or sets the size type. |
PageLayoutSize | Any | None | Read/Write | Gets or sets the page layout size. |
IsConflictPage | bool | Read/Write | Gets or sets the is conflict page. |
PageContentRevisionSummary | Any | None | Read/Write | Gets or sets the page content revision summary. |
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 |
|---|---|
Clone(cloneHistory: bool) → Page | Creates 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) |