Render OneNote File?s Content, Bullet, Numbered Lists & Paragraphs using .NET


Well-known member
Mar 10, 2010
Programming Experience
What is new in this release?

We are pleased to announce the release of Aspose.Note for .NET 1.1.0 . This latest version now supports rendering text with subscript or superscript layout. (Superscript and subscript is text or numbers slightly above or below the normal text level and usually in a smaller font.) In addition to that, users can easily access and manipulate bullet lists, numbered lists and paragraphs with spacing options through the Aspose.Note API. The content manipulation features now offer a bit more control. One valuable feature is retrieving the bullet or numbered list properties, for example the font, font size, font color and format. Thanks to the recently fixed issues and improvements, rendering a OneNote document to other formats is now better. In this regard, we have fixed some error messages which were thrown when the page contains the only title element or the font does not support the Regular style. Several other fixes have been made to improve the overall quality. Accuracy is the key factor. These fixes cover precise rendering of image inside the outline element, the correct measurement of text lines, size calculation of RichText elements and the indent position of outlines and outline group elements. The Document Object Model navigation mechanism has also been improved. It is now possible to access FirstChild, LastChild, NextSibling and PreviousSibling from the current node object. Aspose.Note assembly is CLS compliant. It makes sure that the library can be used from any CLR language.

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

- The SpaceBefore property has been added to the RichText class. Use it to get or set the minimum amount of space before the text line.
- The SpaceAfter property has been added to the RichText class. Use it get or set the minimum amount of space after the text line.
- The LineSpacing property has been added to the RichText class. Use it to get or set line spacing.
- The NumberList property has been added to the OutlineElement class. Use it to get or set the bullet or number list for outline.
- The INotebookVisitor interface is now a DocumentVisitor abstract class. It helps avoiding problems.
- A new NumberList class has been added. Use it to retrieve the numbers or bullet list.

The main features and bug fixes added in this release are listed below

- Rendering the text with subscript or superscript formating.
- Rendering the bullets list.
- Rendering the numbering list.
- Rendering the paragraph with spacing options (before, after, line spacing at least).
- The Aspose.Note assembly become CLS compliant.
- The INotebookVisitor interface become as DocumentVisitor abstract class, it is allow to prevent issues with extensibility.
- Improved the Document Object Model navigation. The FirstChild, LastChild, - NextSibling, PreviousSibling methods were implemented.
- Exception is resolved for the page contains only title element.
- The rendering of image inside outline element is now corrected
- The measuring of text line is now corrected
- Exception resolved for the font does not support 'Regular' style.
- The size calculation is now corrected for rich text with custom spacing between lines.
- The indent position is now corrected for outline and outline group elements

Newly added documentation pages and articles

Some new tips and articles have now been added into Aspose.Note for .NET documentation that may guide you briefly how to use Aspose.Note for performing different tasks like the followings.

- Retrieve Bullet or Number List Properties
- Replace Text in Pages of a OneNote Document

Overview: Aspose.Note for .NET

Aspose.Note for .NET is a set of .NET components that enables developers to work with Microsoft Office OneNote files in C#, VB.NET, ASP.NET web applications, web services & Windows applications. It allows developers to open files & manipulate elements of OneNote books, from text, images & properties, to more complex elements, & then export to PNG, GIF, JPEG, BMP or PDF formats. It is a pure .NET alternative to the MS OneNote Object Model & supports OneNote 2010, OneNote? 2010 SP1 & 2013 files.

More about Aspose.Note for .NET

- Homepage of Aspose.Email for .NET
- Download Aspose.Note for .NET
- Online documentation of Aspose.Note for .NET
- Demos of Aspose.Note for .NET
- Post your technical questions/queries to Aspose.Note for .NET Forum
- Receive notifications about latest news and supported features by subscribing to Aspose.Note for .NET blog

Contact Information

Aspose Pty Ltd
Suite 163, 79 Longueville Road
Lane Cove, NSW, 2066
Aspose - Your File Format Experts
Phone: 888.277.6734
Fax: 866.810.9465