Attach Files and Insert Table with Locked Column Width in OneNote Documents in C#

We are pleased to announce the new release version of Aspose.Note for .NET 1.6.0. To keep a duplicate of any file or document as a part of the notes, clients can now attach it to the OneNote document programmatically. In a recent couple of releases, we have added the table management APIs which allows clients to insert a new table, update its content, and insert a table with locked column width. We have also added support to insert text with hyperlinks in the OneNote document. We’re glad to offer the most demanding feature operations.

In addition to that, we have added support to apply bullets and numbers to the text. Our rich image management APIs has also been improved. This month’s release contains many useful new features, enhancements, and bug fixes in the Aspose.Note APIs.

Attach a Document or File to OneNote using C#

With OneNote, users can gather and keep a wide range of data in one spot, including data from different sources. Instead of retyping data or depending on links to files and documents, users can attach files directly into OneNote. Aspose.Note APIs supports this feature. Following help topic shows, how developers attach a file into the OneNote document: Attach a File to the OneNote Document

Insert a Table in the OneNote Document

Using Aspose.Note APIs, developers can now insert a table, edit table content, and easily edit basic table structure, such as adding or deleting rows and columns. Developers can also create a table with locked column width. Following help topics show, how developers insert a table in the OneNote document: Insert a Table in OneNote Document, Create a Table with Locked Columns in the OneNote Document

Insert Hyperlinks in the OneNote Document

A hyperlink is a text or a picture client can click on, and jump to another document or URL. Aspose.Note APIs permits to include hyperlinks in the OneNote Document. Following help topic shows, how developers add hyperlinks in the OneNote document: Add a Hyperlink to the OneNote Document

Use Note Tags to Sort OneNote Document Content

OneNote lets users tag their notes for easy searching and sorting. The real power is the ability to create your own tags specific to common tasks programmatically. Aspose.Note APIs supports adding a new text node with a tag note, add a new image node with a tag note and add a new table with a tag note. Following help topic shows, how developers can tag text, image, and table in the OneNote document: Tag Important Notes in the OneNote Document

Apply Bullets and Numbering on the Text

Arranging texts in bullets or numbers form is a very common phenomenon. Aspose.Note for .NET APIs allows developers to arrange text items with bullets and numbers. Following help topics show, how developers apply bullet or numbers to the texts in the OneNote document: Apply Bullets on the Text, Apply Numbering on the Text

In addition to the above features, we have added many other help topics for our clients with ease. Please refer to the following help topics: Create a Hello World OneNote document Using API, Create an Empty OneNote Document with a Page Title, Create OneNote Document with Root and Sub Level Pages, Insert an Image on a OneNote Document Page

Regarding the new enhancements and fixes, we have improved OneNote to Pdf conversion performance for documents with missing fonts. We have added flexibilities in enhancing the tag element size because we noticed that the big size text is the cause of wrong tag element sizes.  We also included a fix in reference of the page title. The Page.GetChildNodes method was throwing an error when the page title was not available. It’s now fixed.

Public API Changes

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

  • A new AttachedFile.IconExtension property has been added. It can be used for getting icon extension.
  • A new AttachedFile.Extension property has been added. It can be used for extension of the attached file or document.
  • The Tags property has been added in various classes. Tags property gives an ability to add tags to attach files, tables or images.
  • The new boolean LockedWidth property of the TableColumn type has been added to specify whether a table column has locked width and does not resize automatically to fit table content.

Aspose.Note for .NET Resources

The resources, you may need to accomplish your tasks: