Hi, I am trying to evaluate Aspose.Word for purchase. I am trying to take HTML that is output, and create a Word document with it. My code is below. When the word document opens, all it has in it is:
This document was truncated here because it was created using Aspose.Words in Evaluation Mode.
Here is my code that I’m using. I know the HTML is valid because if I call Response.Write… etc. the page displays as valid HTML with all the fields in it.
Any help would be greatly appreciated.
Thanks,
Chris
Aspose.Words.Document doc = new Document();
Aspose.Words.DocumentBuilder builder = new DocumentBuilder(doc);
builder.InsertHtml(blobHTML);
doc.Save("Report Out.doc", SaveFormat.Doc, SaveType.OpenInBrowser, Response);
Response.Flush();
Response.Close();