Aspose.Note 22.3.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Aspose.Note --version 22.3.0                
NuGet\Install-Package Aspose.Note -Version 22.3.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Aspose.Note" Version="22.3.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspose.Note --version 22.3.0                
#r "nuget: Aspose.Note, 22.3.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Aspose.Note as a Cake Addin
#addin nuget:?package=Aspose.Note&version=22.3.0

// Install Aspose.Note as a Cake Tool
#tool nuget:?package=Aspose.Note&version=22.3.0                

Metered License OneNote® Processing .NET API

Version 22.3.0 Nuget

banner

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

It is a standalone class library that allows interacting with Microsoft OneNote® documents for processing and conversion.

Aspose.Note for .NET can be used for printing ONE documents as well as manipulation of pages, images, text, tables, attachments, tags, tasks, text styles, and hyperlinks, without needing Microsoft OneNote®.

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 a OneNote® file.
  • Parse and export various numbered list formats.
  • Extract text from any part of a OneNote® document.
  • Export OneNote® documents as other popular formats.

What's new in v22.3.0

Metered Licensing Support

Integrated the support for the metered licensing, i.e. "pay as you use". The following C# code snippet demonstrates how an Aspose Metered License can be initialized:

// set metered public and private keys
Aspose.Note.Metered metered = new Aspose.Note.Metered();
// Access the setMeteredKey property and pass public and private keys as parameters
metered.SetMeteredKey("<type public key here>", "<type private key here>");

Read OneNote® Online Documents

Previously in some cases the API was not able to read OneNote® Online documents changed via Aspose.Note API. This issue has been fixed now.

The following C# code sample processes OneNote® 2010 and OneNote® Online file formats via API:

// The path to the documents directory.
string dataDir = RunExamples.GetDataDir_LoadingAndSaving();

var document = new Aspose.Note.Document(dataDir + "Aspose.one");
switch (document.FileFormat)
{
    case FileFormat.OneNote2010:
        // Process OneNote 2010
        break;
    case FileFormat.OneNoteOnline:
        // Process OneNote Online
        break;
}

For a complete list of features, enhancements, and bug fixes in this release please visit, Aspose.Note for .NET 22.3 Release Notes.

Read & Write OneNote® Format

Microsoft OneNote®: ONE

Save OneNote® Files As

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

Read Formats

Microsoft OneNote®: ONETOC2

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 & Silverlight 3.

Get Started

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 via C# Code

// 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);
        }
    }
}

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

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net35 is compatible.  net40 is compatible.  net40-client is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Aspose.Note:

Package Downloads
Aspose.Total

Aspose.Total for .NET is the most complete package of all .NET file format APIs offered by Aspose. It empowers developers to create, edit, render, print and convert between a wide range of popular document formats within any .NET, C#, ASP.NET and VB.NET applications.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
24.11.0 915 11/8/2024
24.9.0 10,462 9/27/2024
24.8.0 8,873 8/20/2024
24.7.0 7,230 7/8/2024
24.6.0 16,488 6/16/2024
24.2.0 28,340 2/28/2024
23.12.0 32,548 12/22/2023
23.11.0 24,011 11/23/2023
23.10.0 13,319 10/17/2023
23.9.0 18,354 9/27/2023
23.8.0 40,362 8/23/2023
23.7.0 16,143 7/25/2023
23.6.0 17,092 6/27/2023
23.5.0 11,583 5/22/2023
23.3.0 25,438 3/28/2023
23.2.0 6,982 3/2/2023
22.11.0 62,914 11/17/2022
22.9.0 178,343 9/21/2022
22.7.0 56,860 7/15/2022
22.5.0 20,813 6/10/2022
22.3.0 19,548 4/7/2022
22.1.0 31,664 1/23/2022
21.11.0 17,260 11/18/2021
21.9.0 16,147 9/22/2021
21.7.0 17,766 7/19/2021
21.5.0 16,347 5/14/2021
21.3.0 45,045 3/17/2021
21.1.0 12,510 1/15/2021
20.11.0 13,467 11/11/2020
20.9.0 2,304 9/14/2020
20.7.0 4,523 7/17/2020
20.5.0 31,075 5/7/2020
20.3.0 3,550 3/18/2020
20.1.0 7,159 1/21/2020
19.11.0 7,484 11/15/2019
19.9.0 10,977 9/13/2019
19.7.0 1,824 7/5/2019
19.5.0 53,710 5/15/2019
19.3.0 1,458 3/31/2019
19.1.0 1,255 1/23/2019
18.11.0 2,615 11/20/2018
18.9.0 1,261 9/18/2018
18.7.0 36,406 7/19/2018
18.5.0 1,373 5/22/2018
18.3.0 2,687 3/19/2018
18.1.0 13,383 1/17/2018
17.11.0 3,663 11/7/2017
17.8.0 2,422 8/30/2017
17.3.0 1,667 4/1/2017
16.12.0 2,151 12/28/2016
16.11.0 1,370 11/14/2016
2.5.0 1,397 8/19/2016
2.4.0 1,615 6/13/2016
2.3.0 1,333 5/6/2016
2.2.0 1,621 3/26/2016
2.1.0 1,970 12/15/2015
2.0.0 5,950 11/3/2015
1.9.0 1,678 8/31/2015
1.8.0 1,746 8/6/2015
1.7.0 1,440 7/3/2015
1.6.0 1,488 6/1/2015
1.5.0 1,537 5/6/2015
1.4.0 1,836 3/27/2015
1.3.1 2,262 6/24/2014
1.3.0 1,938 6/17/2014
1.2.1 1,691 5/7/2014
1.2.0 1,591 4/28/2014
1.1.0 1,846 4/1/2014
1.0.0 2,051 3/3/2014

We decided to deprecate support of .Net 2.0 platform.
     That's why starting from this release version for .Net 2.0 is shipped as separate package.
     See Aspose.Note.net20
     
     https://docs.aspose.com/note/net/aspose-note-for-net-22-3-release-notes/