mht.zip (192.5 KB)
@alexey.noskov thanks for the response. i am using aspose pdf to convert attached files in PDF format. i am getting " Object reference not set to an instance of an object." error. can you please help whats the issue. i am using 21.3.0 version of aspose.pdf. below is my code
Aspose.Pdf.License license = new Aspose.Pdf.License();
license.SetLicense(AppDomain.CurrentDomain.BaseDirectory + “\Aspose.Total.lic”);
Aspose.Pdf.MhtLoadOptions loadoption = new Aspose.Pdf.MhtLoadOptions();
Aspose.Pdf.Document document =new Aspose.Pdf.Document(AppDomain.CurrentDomain.BaseDirectory + “\mht samples\” + “183995692.mht”, loadoption);