Document.Save Method (String, SaveOptions)

Aspose.Note for .NET API

DocumentSave Method (String, SaveOptions)

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,
	SaveOptions options
)
Public Sub Save ( 
	fileName As String,
	options As SaveOptions
)
public:
void Save(
	String^ fileName, 
	SaveOptions^ options
)
member Save : 
        fileName : string * 
        options : SaveOptions -> 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.SavingSaveOptions
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