Document.Save Method (Stream, SaveOptions)

Aspose.Note for .NET API

DocumentSave Method (Stream, SaveOptions)

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,
	SaveOptions options
)
Public Sub Save ( 
	stream As Stream,
	options As SaveOptions
)
public:
void Save(
	Stream^ stream, 
	SaveOptions^ options
)
member Save : 
        stream : Stream * 
        options : SaveOptions -> unit 

Parameters

stream
Type: System.IOStream
The System.IO.Stream where the document will be saved.
options
Type: Aspose.Note.SavingSaveOptions
Specifies the options how the document is saved in stream.
Exceptions
ExceptionCondition
IncorrectDocumentStructureExceptionThe document structure violates specification.
UnsupportedSaveFormatExceptionRequested save format is not supported.
See Also