When using the HTML to pdf. i cant create a pdf from an html stream, but the embedded images that were in the html, does not copy to the pdf. Can you tell me what is wrong?
var destinationLocation = “”;
var fileAsBytes = File.ReadAllBytes(filePathWithFileName);
var memoryStream = new MemoryStream(fileAsBytes);
var document = new HTMLDocument(memoryStream , Uri.UriSchemeHttp);
var options = new Aspose.Html.Saving.PdfSaveOptions(); Converter.ConvertHTML(document, options, destinationLocation);