Aspose.Note for .Net
NotebookSave Method (Stream, NotebookSaveOptions) |
Saves the OneNote document to a stream using the specified save options.
Namespace: Aspose.Note
Assembly: Aspose.Note (in Aspose.Note.dll) Version: 18.1

public void Save( Stream stream, NotebookSaveOptions options )
Public Sub Save ( stream As Stream, options As NotebookSaveOptions )
public: void Save( Stream^ stream, NotebookSaveOptions^ options )
member Save : stream : Stream * options : NotebookSaveOptions -> unit
Parameters
- stream
- Type: System.IOStream
The stream. - options
- Type: Aspose.Note.SavingNotebookSaveOptions
Specifies the options how the document is saved.

Exception | Condition |
---|---|
IncorrectDocumentStructureException | The document structure violates specification. |
UnsupportedSaveFormatException | Requested save format is not supported. |
