I am facing a perculiar problem while using your Aspose.Word.I am using your Aspose.word version 188.8.131.52 .The problem is the table get shrinked ,while rendering .I have attached the file of TableShrinkdoc.doc (this shows u the problem i am facing) and for this i am also sending the code for it .I have used TableTemplate_0.doc as template inside it there is a table,inside a table i have used a Mergefield for this i am wrinting the content.
The code is as follows
Dim dstStream As MemoryStream = New MemoryStream Dim answerBlankdoc As New Aspose.Words.Document("c:\dummy\TableTemplate_0.doc") Dim content As String Dim strB As New StringBuilder strB.Append(" <table width='100%' height='50%'><tr bgcolor='#ff0066'><td>pavan</td></tr><tr bgcolor=#000066><td>kumar</td></tr></table>") content = strB.ToString Dim ObjBuilder As New Aspose.Words.DocumentBuilder(answerBlankdoc) ObjBuilder.MoveToMergeField("Content") ObjBuilder.InsertHtml(content) answerBlankdoc.Save(dstStream, Aspose.Words.SaveFormat.Doc) Response.ContentType = "application/msword" Response.AddHeader("Content-Disposition", "attachment; filename=""1.doc") Response.BinaryWrite(dstStream.ToArray()) dstStream.Close() Response.End()
I had previously reported this problem to u but could not get a possible solution from ur side.
Hope to get the solution from your side as early as possible.