when I load the attached mht, it’s very long.
i think it’s because of links to images which are no longer available.
I try to set HtmlLoadOptions.WebRequestTimeout to 10000, but it doesn’t change anything.
Is there a mean to limit the time spent to try to load the images ?
thanks in advance.
the code is :
Aspose.Words.HtmlLoadOptions lo = new Aspose.Words.HtmlLoadOptions(); lo.WebRequestTimeout = 10000; //create an instance of Document and load the MTHML from MemoryStream Document doc = new Document("c:\\temp\\msgmma\\test1.mht", lo);
test1.zip (8.8 KB)