Last active
May 12, 2023 18:12
-
-
Save aspose-com-kb/790fa5345e7dc2fade199c7043976b84 to your computer and use it in GitHub Desktop.
How to Convert PDF to OneNote using C#. For more details: https://kb.aspose.com/note/net/how-to-convert-pdf-to-onenote-using-csharp/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Program{ | |
static void Main(string[] args) // PDF to OneNote C# | |
{ | |
// Set PDF license | |
new Aspose.Note.License().SetLicense("Aspose.Total.lic"); | |
// Create a Document class object | |
var doc = new Aspose.Note.Document(); | |
// Import multiple PDF files | |
doc.Import("Sample1.pdf"); | |
doc.Import("Sample2.pdf"); | |
doc.Import("Sample3.pdf"); | |
// Save the resultant .ONE file | |
doc.Save("MergedPdfs.one"); | |
System.Console.WriteLine("PDF to OneNote conversion completed successfully"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment