Save OneNote Document to a Stream using Aspose.Note for .NET 1.3.0

Share on FacebookTweet about this on TwitterShare on LinkedIn

We are pleased to announce the release of Aspose.Note for .NET 1.3.0. This new build enables developers to save OneNote documents to a Stream object. Developers can now pass a stream object to the Document.Save(Stream, SaveFormat) or Document.Save(Stream, SaveOptions) method. When saving to a stream, specify the save format explicitly. Please have a look at our official documentation, the help topics: Save OneNote Document to a Stream, and Specify OneNote Save Options

Bug Fixes & Enhancements

This new release fixes several issues, including the presence of duplicate pages in a PDF output file. We have also updated the parsing of styles based on new JCID structure. The JCID structure specifies the type of object and the type of data the object contains. Previously, the default style rich text sometimes had an incorrect value. Several other enhancements are included too, as follows:

  • Optimized the parsing algorithm of OneNote files.
  • Access to document available through any nodes.

Public API Changes

The following API changes in the new version are also worth noting:

  1. A new Node.Document property has been added. It helps to access the document available through any nodes.

  2. A new Document.Save(Stream stream, SaveOptions options) method has been added. It saves the OneNote document to a stream using the specified save options.

  3. A new Document.Save(Stream stream, SaveFormat format) method has been added. It saves the OneNote document to a stream in the specified format.

To view a complete list of API features and try the API at your end, please visit the following page and download the latest version of Aspose.Note for .NET. If you need any help, please feel free to ask in the Aspose.Note forum. For more details, please visit the Aspose.Note for .NET documentation.