Notebook.Save Method (String, NotebookSaveOptions)

Aspose.Note for .NET API

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