Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

160 Commits
 
 
 
 
 
 
 
 
 
 

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.

Image

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 32-bit and 64-bit .NET applications, including ASP.NET, web services and Windows applications. The NuGet package includes assemblies for .NET Framework 4.0, .NET Framework 4.0 Client Profile and .NET Standard 2.0 compatible runtimes.

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

Stars

7 stars

Watchers

11 watching

Forks

Releases

Packages

Used by

Contributors