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

public void Save( string fileName, NotebookSaveOptions options )
Public Sub Save ( fileName As String, options As NotebookSaveOptions )
public: void Save( String^ fileName, NotebookSaveOptions^ options )
member Save : fileName : string * options : NotebookSaveOptions -> unit
Parameters
- fileName
- Type: SystemString
The full name for the file. If a file with the specified full name already exists, the existing file is overwritten. - options
- Type: Aspose.Note.SavingNotebookSaveOptions
Specifies the options how the document is saved in file.

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