Hi,
Images are blank after mail merge. Below is my code in .net and attached is my doc template:
Aspose.Words.Document doc = new Aspose.Words.Document(Path.GetFullPath(“D:/”) + “file.doc”);
var str = ModelExtensions.Serialize(viewModel);
StringReader strReader = new StringReader(str);
DataSet dataDS= new DataSet();
dataDS.ReadXml(strReader);
doc.MailMerge.ExecuteWithRegions(dataDS);
doc.UpdateFields();
byte[] data;
MemoryStream mStream = new MemoryStream();
doc.Save(mStream, Aspose.Words.SaveFormat.Doc);
data = mStream.ToArray();
return File(data, “application/msword”, “Rapport-MarketControl.doc”);
image files are located on the web server where the application is deployed. When generating the document on the client workstation, the image is blank (box with no image).