I have problem while converting OneNote files to pdf with Aspose Note for Java 19.04. I use the following code for the pdf conversion:
com.aspose.note.Document oneNoteDoc = new com.aspose.note.Document(sourceFile.getPath()); oneNoteDoc.save(targetFile.getPath(), SaveFileFormat.PDF);
The created pdf file can not be opened with Adobe Reader. The OneNote file is created with MS-Office 2016. Can you tell me how can I convert the OneNote file to pdf?
TestFile.zip (3.5 KB)