var doc1 = new Aspose.Pdf.Document(“E:\bkp\MyData\VistaarFiles\FILESORG_1\TempFiles\asdf.pdf”);
HtmlSaveOptions newOptions = new HtmlSaveOptions();
newOptions.PartsEmbeddingMode = HtmlSaveOptions.PartsEmbeddingModes.EmbedAllIntoHtml;
newOptions.RasterImagesSavingMode = HtmlSaveOptions.RasterImagesSavingModes.AsEmbeddedPartsOfPngPageBackground;
doc1.Save("E:\bkp\MyData\VistaarFiles\FILESORG_1\TempFiles\\asdf.html", newOptions);