I am working on ASP.Net1.1 usning C# and ASPOSE
I have to Insert Image with every Table Row in the Doc file
To Insert Image in Word Doc I am writting code
quotationDetailDoc.MailMerge.MergeImageField += new MergeImageFieldEventHandler(HandleMergeImage);
private void HandleMergeImage(object sender, MergeImageFieldEventArgs e)
//You can do a number of things in this event handler, this is just one scenario.
//In our case the field in the database contains a file name (without path information)
//of the image of the product category.
string shortFileName = e.FieldValue as string;
//We know that the image files are stored in the same folder as the database and
//so we create the full file name.
//Here, we pass the image file name to Aspose.Words mail merge engine.
//Alternatively, we could have passed a .NET Image object or a Stream in
//e.Image or e.ImageStream properties.
e.ImageFileName = System.IO.Path.Combine(strProductImageDir, shortFileName);
This is not inserting the Image.
What is the problem.
There is bit more detail code in Attachment if it is required.