Value of '0' is not valid for 'emSize'

Dear Team,

I am facing exception “Value of ‘0’ is not valid for ‘emSize’. ‘emSize’ should be greater than 0 and less than or equal to System.Single.MaxValue.” while saving .one to .pdf file. I am using latest Aspose.Note v24.2. Please find below the sample attached.

TEST.7z (729.9 KB)

Regards
XCoder

@perfectdata.techno,

Thanks for the OneNote document.

After an initial testing, I was able to reproduce the issue as you mentioned by using the following sample code with your OneNote document. I found the exception “'Value of ‘0’ is not valid for ‘emSize.’” when converting the file to PDF:

Aspose.Note.Document document = new Aspose.Note.Document("g:\\test2\\TEST.one");
document.Save("g:\\test2\\out1.pdf");//exception.

We require thorough evaluation of the issue. We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): NOTENET-5833

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.