Document Methods

Aspose.Note for .NET API

Document Methods

The Document type exposes the following members.

Methods
  NameDescription
Public methodAccept
Accepts the visitor of the node.
(Overrides CompositeNodeTAccept(DocumentVisitor).)
Public methodAppendChild
Adds the node to the end of the list of child nodes for this node.
(Inherited from CompositeNodeT.)
Public methodDetectLayoutChanges
Detects all changes made to the document layout since the previous DetectLayoutChanges call. In case AutomaticLayoutChangesDetectionEnabled set to true, used automatically in the beginning of document export.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetChildNodes(NodeType) Obsolete.
Get all child nodes by node type.
(Inherited from CompositeNodeT.)
Public methodGetChildNodesT1
Get all child nodes by the node type.
(Inherited from CompositeNodeT.)
Public methodGetEnumerator
Returns an enumerator that iterates through child nodes of the CompositeNodeT.
(Inherited from CompositeNodeT.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetPageHistory
Gets the PageHistory which contains full history for each page presented in a document (the earliest at index 0). The current page revision can be accessed as Current and contained separately from collection of historical versions.
Public methodGetText
Get all text from the node.
(Inherited from CompositeNodeT.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPrint
Prints the document using the default printer.
Public methodPrint(PrintOptions)
Prints the document using the default printer.
Public methodRemoveChild
Removes the child node.
(Inherited from CompositeNodeT.)
Public methodSave(Stream)
Saves the OneNote document to a stream.
Public methodSave(String)
Saves the OneNote document to a file.
Public methodSave(Stream, SaveFormat)
Saves the OneNote document to a stream in the specified format.
Public methodSave(Stream, SaveOptions)
Saves the OneNote document to a stream using the specified save options.
Public methodSave(String, SaveFormat)
Saves the OneNote document to a file in the specified format.
Public methodSave(String, SaveOptions)
Saves the OneNote document to a file using the specified save options.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also