Aspose.Note for .Net
DocumentSave Method (Stream, SaveFormat) |
Saves the OneNote document to a stream in the specified format.
Namespace: Aspose.Note
Assembly: Aspose.Note (in Aspose.Note.dll) Version: 18.1

public void Save( Stream stream, SaveFormat format )
Public Sub Save ( stream As Stream, format As SaveFormat )
public: void Save( Stream^ stream, SaveFormat format )
member Save : stream : Stream * format : SaveFormat -> unit
Parameters
- stream
- Type: System.IOStream
The System.IO.Stream where the document will be saved. - format
- Type: Aspose.NoteSaveFormat
The format in which to save the document.

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