Notebook Class
Represents an Aspose.Note notebook.
Inheritance Hierarchy
SystemObject
  Aspose.NoteNotebook

Namespace: Aspose.Note
Assembly: Aspose.Note (in Aspose.Note.dll) Version: 18.9
Syntax
public class Notebook : INotebookChildNode, IEnumerable<INotebookChildNode>, 
	IEnumerable

The Notebook type exposes the following members.

Constructors
  NameDescription
Public methodNotebook
Initializes a new instance of the Notebook class.
Public methodNotebook(Stream)
Initializes a new instance of the Notebook class. Opens an existing OneNote notebook from a stream.
Public methodNotebook(String)
Initializes a new instance of the Notebook class. Opens an existing OneNote notebook from a file.
Public methodNotebook(Stream, NotebookLoadOptions)
Initializes a new instance of the Notebook class. Opens an existing OneNote notebook from a stream. Allows to specify additional loading options.
Public methodNotebook(String, NotebookLoadOptions)
Initializes a new instance of the Notebook class. Opens an existing OneNote notebook from a file. Allows to specify additional options such as a children loading strategy ("lazy"/instant).
Properties
  NameDescription
Public propertyColor
Gets or sets the color.
Public propertyCount
Gets the number of elements contained in the Notebook.
Public propertyDisplayName
Gets or sets the display name.
Public propertyFileFormat
Gets file format (OneNote 2010, OneNote Online).
Public propertyGuid
Gets the object's globally unique id.
Public propertyIsHistoryEnabled
Gets or sets a value indicating whether the history is enabled.
Public propertyItem
Gets notebook child node by the given index.
Methods
  NameDescription
Public methodAppendChild
Adds the node to the end of the list.
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 methodGetChildNodesT1
Get all child nodes by the node type.
Public methodGetEnumerator
Returns an enumerator that iterates through child nodes of the Notebook.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodLoadChildDocument(Stream)
Adds a child document node. Opens an existing OneNote document from a stream.
Public methodLoadChildDocument(String)
Adds a child document node. Opens an existing OneNote document from a file.
Public methodLoadChildDocument(Stream, LoadOptions)
Adds a child document node. Opens an existing OneNote document from a stream. Allows to specify additional load options.
Public methodLoadChildDocument(String, LoadOptions)
Adds a child document node. Opens an existing OneNote document from a file. Allows to specify additional load options.
Public methodLoadChildNotebook(Stream)
Adds a child notebook node. Opens an existing OneNote notebook from a stream.
Public methodLoadChildNotebook(String)
Adds a child notebook node. Opens an existing OneNote notebook from a file.
Public methodLoadChildNotebook(Stream, NotebookLoadOptions)
Adds a child notebook node. Opens an existing OneNote notebook from a stream. Allows to specify additional load options.
Public methodLoadChildNotebook(String, NotebookLoadOptions)
Adds a child notebook node. Opens an existing OneNote notebook from a file. Allows to specify additional load options.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemoveChild
Removes the child node.
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, NotebookSaveOptions)
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, NotebookSaveOptions)
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.)
See Also