Aspose.Note for .Net
Notebook Class |
Represents an Aspose.Note notebook.
Inheritance Hierarchy
Namespace: Aspose.Note
Assembly: Aspose.Note (in Aspose.Note.dll) Version: 18.1
Syntax
public class Notebook : INotebookChildNode, IEnumerable<INotebookChildNode>, IEnumerable
Public Class Notebook Implements INotebookChildNode, IEnumerable(Of INotebookChildNode), IEnumerable
public ref class Notebook : INotebookChildNode, IEnumerable<INotebookChildNode^>, IEnumerable
type Notebook = class interface INotebookChildNode interface IEnumerable<INotebookChildNode> interface IEnumerable end
The Notebook type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Notebook |
Initializes a new instance of the Notebook class.
| |
Notebook(Stream) |
Initializes a new instance of the Notebook class.
Opens an existing OneNote notebook from a stream.
| |
Notebook(String) |
Initializes a new instance of the Notebook class.
Opens an existing OneNote notebook from a file.
| |
Notebook(Stream, NotebookLoadOptions) |
Initializes a new instance of the Notebook class.
Opens an existing OneNote notebook from a stream. Allows to specify additional loading options.
| |
Notebook(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
Name | Description | |
---|---|---|
Color |
Gets or sets the color.
| |
Count |
Gets the number of elements contained in the Notebook.
| |
DisplayName |
Gets or sets the display name.
| |
FileFormat |
Gets file format (OneNote 2010, OneNote Online).
| |
Guid |
Gets the object's globally unique id.
| |
IsHistoryEnabled |
Gets or sets a value indicating whether the history is enabled.
| |
Item |
Gets notebook child node by the given index.
|
Methods
Name | Description | |
---|---|---|
AppendChild |
Adds the node to the end of the list.
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetChildNodesT1 |
Get all child nodes by the node type.
| |
GetEnumerator |
Returns an enumerator that iterates through child nodes of the Notebook.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the type of the current instance. (Inherited from Object.) | |
LoadChildDocument(Stream) |
Adds a child document node.
Opens an existing OneNote document from a stream.
| |
LoadChildDocument(String) |
Adds a child document node.
Opens an existing OneNote document from a file.
| |
LoadChildDocument(Stream, LoadOptions) |
Adds a child document node.
Opens an existing OneNote document from a stream. Allows to specify additional load options.
| |
LoadChildDocument(String, LoadOptions) |
Adds a child document node.
Opens an existing OneNote document from a file. Allows to specify additional load options.
| |
LoadChildNotebook(Stream) |
Adds a child notebook node.
Opens an existing OneNote notebook from a stream.
| |
LoadChildNotebook(String) |
Adds a child notebook node.
Opens an existing OneNote notebook from a file.
| |
LoadChildNotebook(Stream, NotebookLoadOptions) |
Adds a child notebook node.
Opens an existing OneNote notebook from a stream. Allows to specify additional load options.
| |
LoadChildNotebook(String, NotebookLoadOptions) |
Adds a child notebook node.
Opens an existing OneNote notebook from a file. Allows to specify additional load options.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RemoveChild |
Removes the child node.
| |
Save(Stream) |
Saves the OneNote document to a stream.
| |
Save(String) |
Saves the OneNote document to a file.
| |
Save(Stream, SaveFormat) |
Saves the OneNote document to a stream in the specified format.
| |
Save(Stream, NotebookSaveOptions) |
Saves the OneNote document to a stream using the specified save options.
| |
Save(String, SaveFormat) |
Saves the OneNote document to a file in the specified format.
| |
Save(String, NotebookSaveOptions) |
Saves the OneNote document to a file using the specified save options.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
See Also