.mht to .pdf conversion issues

A customer is attempting to convert a .mht (basically html) to .pdf and it is not rendering properly. I have attached the .mht document as well as what the output looks like. We are simple loading up their file with some basic HtmlLoadOptions (setting borders) and saving it back out. Any insight you can provide would be great.

Hi Mark,


Thanks for contacting support.

I have tested the scenario with following code snippet and have managed to convert the mht file to PDF document correctly. I have also attached the generated PDF document for your reference.

C#

MhtLoadOptions options = new MhtLoadOptions();
// Load document
Document document = new Document(dataDir + “Doc Packet MHT - 2-7-2017 - 112233 - A - Doc Handle 4040766.mht”, options);
// Save the output as PDF document
document.Save(dataDir + “MHTToPDF_out.pdf”);

If you still face any issue, please feel free to contact us.

Best Regards,