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. |
- 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.
Microsoft OneNote: ONE
ONETOC2
Fixed Layout: PDF
Web: HTML
Images: GIF, JPEG, PNG, BMP, TIFF
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.
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.
// 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);
// 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