Aspose.Note for .Net
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

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.

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