Read MS OneNote TOC Files using C# with Aspose.Note for .NET 2.3.0

Aspose.Note for .NET

We are pleased to announce the release of Aspose.Note for .NET 2.3.0. This month’s release includes support for Microsoft OneNote .onetoc2 file format. In addition, it also fixes a number of issues related to the API functionality. For further details about what is new and fixed, please visit the Product release notes of Aspose.Note for .NET.

Work with Microsoft .onetoc2 File Format

This month’s release includes a new feature for supporting Microsoft OneNote .onetoc2 file formats. This file format contains saved table of contents. The API introduces the NoteBook class to load this new file format.  The following code sample shows the usage of this feature.

var notebook = new Notebook("PathToNotebook.onetoc2");
foreach (var notebookChildNode in notebook)
    if (notebookChildNode is Document)
        // Do something with child document
    else if (notebookChildNode is Notebook)
        // Do something with child notebook

Other Improvements

The routine in-house testing of the API brings issues in our notice that are fixed after investigating them thoroughly. This month’s release also fixes some internal bugs of the API that further aids to the overall stability of the API.

API Resources

You can get started with Aspose.Note for .NET by making use of information available in the following.

  • API Documentation – Helps getting started with the API using code samples and examples
  • Forum Support – Post your inquiries to get help from our technical support team
  • Examples – Try the ready-to-use examples of the API by downloading from our GitHub repository
  • API Reference Guide – Provides information about all the namespaces, classes and properties of the API