123456789101112131415161718192021222324 |
- using Aspose.Note;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace OneNote2PDF.Utils
- {
- class OneNoteUtils
- {
- string dataDir = "";
- public bool One2PDF(string filePath)
- {
- Document oneFile = new Document(dataDir + "Aspose.one");
- dataDir = dataDir + "SaveWithDefaultSettings_out.pdf";
- oneFile.Save(dataDir, SaveFormat.Pdf);
- return true;
- }
- }
- }
|