/ Published in: C#

The Aspose.Note for .NET API allows developers to open files & manipulate elements of OneNote books & export them to PNG, GIF, JPEG, BMP and PDF formats. The following code sample shows developers how to save OneNote File as an image in C#/.NET
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
The Aspose.Note for .NET API allows developers to open files & manipulate elements of OneNote books & export them to PNG, GIF, JPEG, BMP and PDF formats. The following code sample shows developers how to save OneNote File as an image in C#/.NET // Load the document into Aspose.Note. // Save the document as GIF. oneFile.Save("FullFileName.gif", SaveFormat.Gif); OR // Load the document into Aspose.Note. // Initialize ImageSaveOptions object // Set page index opts.PageIndex = 1; // Save the document as PNG. oneFile.Save(@"FullFileName.png", opts);
Comments
