Skip to content

aspose-note/Aspose.Note-for-.NET

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nuget Nuget GitHub

.NET API for OneNote Document Processing

Aspose.Note for .NET is OneNote API to read, write and modify Microsoft Office OneNote files. It allows developers to work with .one files in C#, VB.NET, ASP.NET web applications, web services and Windows applications. It makes it possible to open files and manipulate the elements of OneNote books, from text, images and properties to more complex elements, and then export to ONE, PNG, GIF, JPEG, BMP, HTML or PDF formats.

Directory Description
Demos Source code for live demos hosted at https://products.aspose.app/note/family.
Examples A collection of .NET examples that help you learn the product features.

Microsoft OneNote File Processing Features

  • Load, edit and save Microsoft OneNote documents via API.
  • Navigate through the OneNote Document Object Model (DOM).
  • Insert an image into an OneNote file.
  • Parse and export various numbered list formats.
  • Extract text from any part of an OneNote document.
  • Export OneNote documents as other popular formats.
  • Import content from popular formats to OneNote documents.

Read & Write OneNote Format

Microsoft OneNote: ONE

Read Formats

ONETOC2

Import Formats

PDF

Save OneNote Files As

Fixed Layout: PDF
Web: HTML
Images: GIF, JPEG, PNG, BMP, TIFF

Platform Independence

Aspose.Note for .NET can be used to build both the 32-bit and the 64-bit .NET applications, including ASP.NET, Web Services & WinForms. Its deployment is very easy and consists of a single assembly with no dependencies (except for the .NET framework). Aspose.Note.dll is CLS compliant, written entirely in C# and contains only safe managed code for .NET Framework, .NET Core & Sliverlight 3.

Get Started with Aspose.Note for .NET

Are you ready to give Aspose.Note for .NET a try? Simply execute Install-Package Aspose.Note from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have Aspose.Note for .NET and want to upgrade the version, please execute Update-Package Aspose.Note to get the latest version.

Convert Microsoft OneNote to PDF Format

// load the document into Aspose.Note.
Document oneFile = new Document(dir + "template.one");
// save the document as PDF
oneFile.Save(dir + "output.pdf", SaveFormat.Pdf);

Extract Images from Microsoft OneNote Document

// load the document into Aspose.Note.
Document oneFile = new Document(dir + "template.one");
// get all image nodes
IList<Aspose.Note.Image> nodes = oneFile.GetChildNodes<Aspose.Note.Image>();
foreach (Aspose.Note.Image image in nodes)
{
    using (MemoryStream stream = new MemoryStream(image.Bytes))
    {
        using (Bitmap bitMap = new Bitmap(stream))
        {
            // save image bytes to a file
            bitMap.Save(dir + image.FileName);
        }
    }
}

Home | Product Page | Docs | API Reference | Examples | Blog | Search | Free Support | Temporary License

About

Aspose.Note for .NET examples, plugins and showcase projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published