I’ve converted the attached .one files to pdf and there are several issues visible in the pdfs:
1. Drawings don’t render
2. Hyperlinks work
3. Date overlaps with the time
I’ve attached 2 sample OneNote files and the results of conversion to PDF.
Here is the code I use for conversion:
private PDFDocument MakePdfDoc(Document doc)
PDFDocument pdf = null;
if (doc != null)
MemoryStream ms = new MemoryStream();
pdf = new PDFDocument(ms, true);
Is this code correct or do I need to do something else to produce the correct results?