Notebook.Save Method (Stream, NotebookSaveOptions)

Aspose.Note for .NET API

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
Syntax
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.
Exceptions
ExceptionCondition
IncorrectDocumentStructureExceptionThe document structure violates specification.
UnsupportedSaveFormatExceptionRequested save format is not supported.
See Also