Document

Oversigt over de forskellige former for støtte

Document er en klasse i Aspose.Note for Python. Arvelige af: CompositeNode.

Dokumentklassen kan instancieres med en vej til et OneNote .one fil til at indlæse dokumentet.

Egenskaber

NameTypeAccessDescription
FileFormatFileFormatReadGets the file format.
DisplayName`strNone`Read
CreationTime`datetimeNone`Read
FirstChild`NodeNone`Read
LastChild`NodeNone`Read
ParentNode`NodeNone`Read
Document`DocumentNone`Read

Metoder til at anvende

SignatureDescription
`init(source: strPath
DetectLayoutChanges()Detects changes in the document layout and updates internal state
GetPageHistory(page: Page)PageHistoryReturns the history information for the specified page
`Save(target: strPath
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)
 Dansk